This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.snow
Recipients Arfrever, brett.cannon, eric.snow, ncoghlan
Date 2014-01-04.07:14:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1388819663.61.0.73592798117.issue19697@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2014-01-04 07:14:23eric.snowsetrecipients: + eric.snow, brett.cannon, ncoghlan, Arfrever
2014-01-04 07:14:23eric.snowsetmessageid: <1388819663.61.0.73592798117.issue19697@psf.upfronthosting.co.za>
2014-01-04 07:14:23eric.snowlinkissue19697 messages
2014-01-04 07:14:23eric.snowcreate