[issue19697] refactor pythonrun.c to make use of specs (__main__.__spec__)
Eric Snow
report at bugs.python.org
Sat Jan 4 08:14:23 CET 2014
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 <report at bugs.python.org>
<http://bugs.python.org/issue19697>
_______________________________________
More information about the Python-bugs-list
mailing list