[issue14583] try/except import fails --without-threads
Brett Cannon
report at bugs.python.org
Sun May 6 18:24:00 CEST 2012
Brett Cannon <brett at python.org> added the comment:
Only two comments, otherwise LGTM (and I can't believe the solution was to go back through the import system just to pull out the cached module; the things we would change if we were doing this from scratch).
One, you have some "XXX False" markers in the tests. Should those get deleted or replaced with something?
Two, in your first test (at least) you only test what is in sys.modules once instead of after each attempted import. I would repeat the test after each import.
----------
assignee: -> pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14583>
_______________________________________
More information about the Python-bugs-list
mailing list