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 jaraco
Recipients jaraco
Date 2017-10-26.14:07:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1509026832.38.0.213398074469.issue31874@psf.upfronthosting.co.za>
In-reply-to
Content
At first, I didn't understand why one wouldn't simply omit sys.path[0], similar to what scripts do, but then I realized that Nick was aware of a common use-case that I was overlooking - that `python -m` may be used to launch behavior in a local package - in which case it's relevant and important that sys.path[0] == ''.
History
Date User Action Args
2017-10-26 14:07:12jaracosetrecipients: + jaraco
2017-10-26 14:07:12jaracosetmessageid: <1509026832.38.0.213398074469.issue31874@psf.upfronthosting.co.za>
2017-10-26 14:07:12jaracolinkissue31874 messages
2017-10-26 14:07:12jaracocreate