[issue17636] Modify IMPORT_FROM to fallback on sys.modules

Nick Coghlan report at bugs.python.org
Tue Dec 17 14:52:41 CET 2013


Nick Coghlan added the comment:

With PEP 451 implemented, note that I have reopened issue 992389 - the patch to set the parent module attribute at the same time as setting the sys.module attribute is actually pretty trivial for the PEP 451 loader case, and that now includes all the standard loaders.

I also think that approach will have fewer weird edge cases than this version.

----------

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


More information about the Python-bugs-list mailing list