Eric Snow added the comment: Food for thought:
We could (for 3.5) add an importer just for __main__ that gives us the appropriate spec and loads __main__ accordingly. Such a loader could even incorporate exec of the site module (and any PYTHONSTARTUP script). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19697> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com