[issue17621] Create a lazy import loader mixin

Brett Cannon report at bugs.python.org
Fri Jun 21 03:38:30 CEST 2013


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 <report at bugs.python.org>
<http://bugs.python.org/issue17621>
_______________________________________


More information about the Python-bugs-list mailing list