[docs] [issue23427] Python should expose command when invoked with -c

STINNER Victor report at bugs.python.org
Tue Feb 10 00:09:07 CET 2015


STINNER Victor added the comment:

sys.argv must not be changed. It would break too many Python applications.

*If* we decide to expose the command line parameter in Python, we can
add a new variable like sys.command for example. "command" name in
used in the C code of Python, and also comes from "c" of "-c".

----------

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


More information about the docs mailing list