Author pje
Recipients alexandre.vassalotti, andy-chu, loewis, ncoghlan, paul.moore, pje
Date 2007-08-27.18:11:33
SpamBayes Score 0.120953
Marked as misclassified No
Message-id <1188238294.01.0.0928033489046.issue1739468@psf.upfronthosting.co.za>
In-reply-to
Content
Patch implementing an alternate approach: support automatically
importing __main__ when sys.argv[0] is an importable path.  This allows
zip files, directories, and any future importable locations (e.g. URLs)
to be used on the command line.  Note that this also means that you
don't need an option on the #! line in a zip file, which avoids hairy #!
issues on platforms like Linux (where a #! line can have at most one
argument).  __main__ is used instead of __zipmain__, since it is not
zipfile specific.
History
Date User Action Args
2007-08-27 18:11:34pjesetspambayes_score: 0.120953 -> 0.120953
recipients: + pje, loewis, paul.moore, ncoghlan, andy-chu, alexandre.vassalotti
2007-08-27 18:11:34pjesetspambayes_score: 0.120953 -> 0.120953
messageid: <1188238294.01.0.0928033489046.issue1739468@psf.upfronthosting.co.za>
2007-08-27 18:11:33pjelinkissue1739468 messages
2007-08-27 18:11:33pjecreate