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

Nick Coghlan report at bugs.python.org
Sun May 27 08:30:28 CEST 2012


Nick Coghlan <ncoghlan at gmail.com> added the comment:

FWIW, I now think this should *only* be a long option. Short options are precious, and this is an unusual enough use case that I'm not yet sure it deserves one.

In particular, we may decide to use "-p" later for adding directories to sys.path, rather than specifically overriding sys.path[0]

----------

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


More information about the Python-bugs-list mailing list