homepage

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 brett.cannon, michael.foord, ncoghlan
Date 2010年03月23日.14:27:33
SpamBayes Score 2.6630312e-05
Marked as misclassified No
Message-id <1269354455.24.0.842670107826.issue8202@psf.upfronthosting.co.za>
In-reply-to
Content
I realised today that this behaviour is actually the case for any execution of a module inside a package with -m (i.e. any __init__ modules execute before sys.argv and __main__ are fully configured).
As I recall, I used a bit of a hack to get main.c to implement -m correctly by piggybacking on the existing -c semantics. I'll find the hack and replace it with some proper '-c' or '-m' logic.
History
Date User Action Args
2010年03月23日 14:27:35ncoghlansetrecipients: + ncoghlan, brett.cannon, michael.foord
2010年03月23日 14:27:35ncoghlansetmessageid: <1269354455.24.0.842670107826.issue8202@psf.upfronthosting.co.za>
2010年03月23日 14:27:34ncoghlanlinkissue8202 messages
2010年03月23日 14:27:33ncoghlancreate

AltStyle によって変換されたページ (->オリジナル) /