[issue30024] Treat `import a.b.c as m` as `m = sys.modules['a.b.c']`
Serhiy Storchaka
report at bugs.python.org
Mon Apr 10 13:59:21 EDT 2017
Serhiy Storchaka added the comment:
It is easy to implement this (just replace LOAD_ATTR with IMPORT_FROM in the compiler). The hardest part is writing tests.
----------
keywords: +easy (C)
nosy: +serhiy.storchaka
stage: -> needs patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30024>
_______________________________________
More information about the Python-bugs-list
mailing list