This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brett.cannon
Recipients brett.cannon, terry.reedy
Date 2010-05-18.17:47:49
SpamBayes Score 0.000781752
Marked as misclassified No
Message-id <>
I guess it's a question of readability. Does::

  ImportError: No module named mod

read better than::

  ImportError: No module named 'mod'

In my eyes it doesn't by much, so switching to using repr() seems reasonable.

This can't be changed in released versions of Python as that could break someone's doctests. So making this only for 2.7 and 3.2.
Date User Action Args
2010-05-18 17:47:51brett.cannonsetrecipients: + brett.cannon, terry.reedy
2010-05-18 17:47:51brett.cannonsetmessageid: <>
2010-05-18 17:47:49brett.cannonlinkissue8754 messages
2010-05-18 17:47:49brett.cannoncreate