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 <rep...@bugs.python.org> <http://bugs.python.org/issue17621> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com