Armin Rigo <ar...@users.sourceforge.net> added the comment:
A middle ground might be to copy the behavior of ``__import__``: it is loaded from the builtins module where specific hacks can change its definition, but it is not loaded from the globals. ---------- nosy: +arigo _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34880> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com