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 belopolsky, georg.brandl, ncoghlan
Date 2008-02-23.05:49:04
SpamBayes Score 0.0035062153
Marked as misclassified No
Message-id <1203745748.59.0.68584601973.issue1877@psf.upfronthosting.co.za>
In-reply-to
Content
The mutation of sys.path is deliberate - the use case is to allow the
interpreter to execute a zipfile directly and have access to all of the
Python modules and packages bundled along with __main__.py. Supporting
execution of directories as well makes it much easier to test your
application before bundling it that way (since you can test with the
directory till it works, zip the directory, test with the zipfile, then
distribute it).

You can find more details on this feature in issue 1739468
History
Date User Action Args
2008-02-23 05:49:09ncoghlansetspambayes_score: 0.00350622 -> 0.0035062153
recipients: + ncoghlan, georg.brandl, belopolsky
2008-02-23 05:49:08ncoghlansetspambayes_score: 0.00350622 -> 0.00350622
messageid: <1203745748.59.0.68584601973.issue1877@psf.upfronthosting.co.za>
2008-02-23 05:49:07ncoghlanlinkissue1877 messages
2008-02-23 05:49:06ncoghlancreate