[issue23427] Add sys.orig_argv: original command line arguments passed to the Python executable

2020-06-29 Thread STINNER Victor


STINNER Victor  added the comment:

I added sys.orig_argv to the master branch (future Python 3.10).

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23427] Add sys.orig_argv: original command line arguments passed to the Python executable

2020-06-29 Thread STINNER Victor


STINNER Victor  added the comment:


New changeset dd8a93e23b5c4f9290e1cea6183d97eb9b5e61c0 by Victor Stinner in 
branch 'master':
bpo-23427: Add sys.orig_argv attribute (GH-20729)
https://github.com/python/cpython/commit/dd8a93e23b5c4f9290e1cea6183d97eb9b5e61c0


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23427] Add sys.orig_argv: original command line arguments passed to the Python executable

2020-06-23 Thread STINNER Victor


STINNER Victor  added the comment:

The setproctitle project uses Py_GetArgcArgv() and would benefit of 
PyConfig.orig_argv, see:

* https://bugs.python.org/issue15577#msg370965
* https://github.com/dvarrazzo/py-setproctitle/issues/8

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23427] Add sys.orig_argv: original command line arguments passed to the Python executable

2020-06-16 Thread STINNER Victor


Change by STINNER Victor :


--
versions: +Python 3.10 -Python 3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue23427] Add sys.orig_argv: original command line arguments passed to the Python executable

2020-06-08 Thread STINNER Victor


Change by STINNER Victor :


--
title: Python should expose command when invoked with -c -> Add sys.orig_argv: 
original command line arguments passed to the Python executable

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com