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.00078175176
Marked as misclassified No
Message-id <1274204871.81.0.992941474507.issue8754@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-05-18 17:47:51brett.cannonsetrecipients: + brett.cannon, terry.reedy
2010-05-18 17:47:51brett.cannonsetmessageid: <1274204871.81.0.992941474507.issue8754@psf.upfronthosting.co.za>
2010-05-18 17:47:49brett.cannonlinkissue8754 messages
2010-05-18 17:47:49brett.cannoncreate