Brett Cannon added the comment: The semantics for looking up __import__ is to only grab it from builtins and to ignore globals() and locals() (see issue #25500), so any fix/change should follow those semantics.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27419> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com