Message165957
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? |
|
Date |
User |
Action |
Args |
2012-07-20 17:50:49 | brett.cannon | set | recipients:
+ brett.cannon, iko, ncoghlan, docs@python |
2012-07-20 17:50:49 | brett.cannon | set | messageid: <1342806649.51.0.941785228018.issue15292@psf.upfronthosting.co.za> |
2012-07-20 17:50:48 | brett.cannon | link | issue15292 messages |
2012-07-20 17:50:48 | brett.cannon | create | |
|