Brett Cannon added the comment:

One problem with the importers code is it doesn't properly clean up after the 
module if the load failed and it wasn't a reload. Should store an attribute on 
the module signaling whether it was a reload or not to know whether an 
exception raised during loading should lead to the module being removed from 
sys.modules.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17621>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to