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
Date 2013-06-12.21:01:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1371070908.67.0.272178306242.issue18200@psf.upfronthosting.co.za>
In-reply-to
Content
The common idiom::

 try:
  import something
 except ImportError:
  pass

should be updated to use ModuleNotFoundError instead to not accidentally swallow ImportError exceptions which signal actual errors.
History
Date User Action Args
2013-06-12 21:01:48brett.cannonsetrecipients: + brett.cannon
2013-06-12 21:01:48brett.cannonsetmessageid: <1371070908.67.0.272178306242.issue18200@psf.upfronthosting.co.za>
2013-06-12 21:01:48brett.cannonlinkissue18200 messages
2013-06-12 21:01:48brett.cannoncreate