[issue13475] Add '-p'/'--path0' command line option to override sys.path[0] initialisation

Eric Snow report at bugs.python.org
Fri Nov 25 07:09:29 CET 2011


Eric Snow <ericsnowcurrently at gmail.com> added the comment:

+1  Both the -p and --nopath0 would be great additions and a good match for PEP 395.

So "-p ." would be equivalent to the current implicit sys.path[0] initialization, right?  Would any other effects happen with "-p" than sys.path[0] initialization?  I'll follow up with my one concern (the implicit "-p .") in a follow-up message.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13475>
_______________________________________


More information about the Python-bugs-list mailing list