Message305057
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] == ''. |
|
Date |
User |
Action |
Args |
2017-10-26 14:07:12 | jaraco | set | recipients:
+ jaraco |
2017-10-26 14:07:12 | jaraco | set | messageid: <1509026832.38.0.213398074469.issue31874@psf.upfronthosting.co.za> |
2017-10-26 14:07:12 | jaraco | link | issue31874 messages |
2017-10-26 14:07:12 | jaraco | create | |
|