Jason R. Coombs <jar...@jaraco.com> added the comment:

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] == ''.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue31874>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to