Nick Coghlan <ncogh...@gmail.com> added the comment: Heh, apparently I forgot how IMPORT_FROM currently works some time between 2015 and 2017 :)
I agree this is out of date now, as the requested behaviour was already implemented for 3.7 ---------- resolution: -> out of date stage: -> resolved status: open -> closed superseder: -> Treat `import a.b.c as m` as `m = sys.modules['a.b.c']` _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue23203> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com