Nick Coghlan <ncogh...@gmail.com> added the comment:
Just noting that PEP 499 covers adding modules executed with `-m` to `sys.modules` under their real name in addition to `__main__`. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue19702> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com