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 ncoghlan
Recipients benjamin.peterson, illume, ncoghlan
Date 2009-07-10.03:30:52
SpamBayes Score 4.4752868e-11
Marked as misclassified No
Message-id <1247196654.12.0.988171904782.issue2751@psf.upfronthosting.co.za>
In-reply-to
Content
It doesn't work in 2.6 or 3.0 because, as stated above, it was only due
to a bug that it even appeared to work at all in 2.5 (it was always
meant to be disallowed because it puts dodgy data in the import
machinery's internal records if you do it).

It took a new feature (looking for a __main__ module as described in
issue 4195 and as you already noted) to make it actually work properly
for 3.1 (and 2.7 when that is released).
History
Date User Action Args
2009-07-10 03:30:54ncoghlansetrecipients: + ncoghlan, illume, benjamin.peterson
2009-07-10 03:30:54ncoghlansetmessageid: <1247196654.12.0.988171904782.issue2751@psf.upfronthosting.co.za>
2009-07-10 03:30:52ncoghlanlinkissue2751 messages
2009-07-10 03:30:52ncoghlancreate