Andrei Kulakov <andrei....@gmail.com> added the comment:
Actually, I was mistaken about this, `readmodule_ex` can get the __main__ from sys.modules.. I will look more into this later today. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43299> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com