diff options
author | Victor Stinner <vstinner@python.org> | 2020-11-05 17:58:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-05 17:58:07 (GMT) |
commit | dc42af8fd16b10127ce1fc93c13bc1bfd2674aa2 (patch) | |
tree | 4d45407632e738acb07a54af480d16c7fadef8b4 /Doc/c-api/conversion.rst | |
parent | f3cb81431574453aac3b6dcadb3120331e6a8f1c (diff) | |
download | cpython-dc42af8fd16b10127ce1fc93c13bc1bfd2674aa2.zip cpython-dc42af8fd16b10127ce1fc93c13bc1bfd2674aa2.tar.gz cpython-dc42af8fd16b10127ce1fc93c13bc1bfd2674aa2.tar.bz2 |
bpo-42260: PyConfig_Read() only parses argv once (GH-23168)
The PyConfig_Read() function now only parses PyConfig.argv arguments
once: PyConfig.parse_argv is set to 2 after arguments are parsed.
Since Python arguments are strippped from PyConfig.argv, parsing
arguments twice would parse the application options as Python
options.
* Rework the PyConfig documentation.
* Fix _testinternalcapi.set_config() error handling.
* SetConfigTests no longer needs parse_argv=0 when restoring the old
configuration.
Diffstat (limited to 'Doc/c-api/conversion.rst')
0 files changed, 0 insertions, 0 deletions