]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-23427: Add sys.orig_argv attribute (GH-20729)
authorVictor Stinner <vstinner@python.org>
Mon, 29 Jun 2020 22:49:03 +0000 (00:49 +0200)
committerGitHub <noreply@github.com>
Mon, 29 Jun 2020 22:49:03 +0000 (00:49 +0200)
commitdd8a93e23b5c4f9290e1cea6183d97eb9b5e61c0
treee313d1898cff674146bfb1fef17f082f56628ed4
parent2fb5f038f2a2e91a7293d62dfd5601e6eb500c55
bpo-23427: Add sys.orig_argv attribute (GH-20729)

Add sys.orig_argv attribute: the list of the original command line
arguments passed to the Python executable.

Rename also PyConfig._orig_argv to PyConfig.orig_argv and
document it.
Doc/c-api/init_config.rst
Doc/library/sys.rst
Doc/whatsnew/3.10.rst
Include/cpython/initconfig.h
Lib/test/test_embed.py
Lib/test/test_sys.py
Misc/NEWS.d/next/Library/2020-06-08-18-59-16.bpo-23427.ilg1Cz.rst [new file with mode: 0644]
Python/initconfig.c
Python/sysmodule.c