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, docs@python, iko, ncoghlan
Date 2012-07-20.17:50:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342806649.51.0.941785228018.issue15292@psf.upfronthosting.co.za>
In-reply-to
Content
So I can't reproduce the problem under Python 2.7.3, Python 3.2.3, or a fresh checkout of Python 3.3. This is with both your script, Anders, and writing my own class that defined find_module() to just raise ImportError that I set in either sys.meta_path or in sys.path_importer_cache (both ways let the ImportError propagate).

This means I'm not sure exactly what problem you are encountering. Is this on an older version of Python 2.7? Do you have a unit test that can be run  which shows the test failing under Python 2.7 but passing under Python 3.3?
History
Date User Action Args
2012-07-20 17:50:49brett.cannonsetrecipients: + brett.cannon, iko, ncoghlan, docs@python
2012-07-20 17:50:49brett.cannonsetmessageid: <1342806649.51.0.941785228018.issue15292@psf.upfronthosting.co.za>
2012-07-20 17:50:48brett.cannonlinkissue15292 messages
2012-07-20 17:50:48brett.cannoncreate