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 eric.snow
Recipients brett.cannon, eric.snow, larry, ncoghlan
Date 2014-04-14.01:16:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Here's a patch that checks for modules that don't have __spec__ set.

The patch will fix the problem.  However note that the docs and docstring imply (to me) that we should turn any ImportError coming out of the find_loader() call into returning None.  Fixing that will also fix this bug, so this patch may be unnecessary.
Date User Action Args
2014-04-14 01:16:55eric.snowsetrecipients: + eric.snow, brett.cannon, ncoghlan, larry
2014-04-14 01:16:55eric.snowsetmessageid: <>
2014-04-14 01:16:55eric.snowlinkissue21200 messages
2014-04-14 01:16:54eric.snowcreate