[issue17621] Create a lazy import loader mixin

Brett Cannon report at bugs.python.org
Sun Mar 23 20:01:18 CET 2014


Brett Cannon added the comment:

Another update to trigger loading on attribute deletions as well as detecting when an import swapped the module in sys.modules, raising ValueError if detected since it won't have the affect that's expected (could be convinced to make that ImportError instead).

----------
Added file: http://bugs.python.org/file34591/lazy_loader.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17621>
_______________________________________


More information about the Python-bugs-list mailing list