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, eric.snow, kdart, ncoghlan
Date 2016-01-28.20:30:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I think I'm liking the following approach:

  if __debug__:
    hopefully_None = loader.create_module(spec)
    if hopefully_None is not None:
        warnings.warn("watch out!", ImportWarning)
Date User Action Args
2016-01-28 20:30:36brett.cannonsetrecipients: + brett.cannon, ncoghlan, kdart, eric.snow
2016-01-28 20:30:36brett.cannonsetmessageid: <>
2016-01-28 20:30:36brett.cannonlinkissue26186 messages
2016-01-28 20:30:36brett.cannoncreate