]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-96848: Fix -X int_max_str_digits option parsing (#96988)
authorVictor Stinner <vstinner@python.org>
Mon, 26 Sep 2022 15:20:08 +0000 (17:20 +0200)
committerGitHub <noreply@github.com>
Mon, 26 Sep 2022 15:20:08 +0000 (17:20 +0200)
commit41351662bcd21672d8ccfa62fe44d72027e6bcf8
tree97bede41a5c3871f7601794079311892137613c9
parent2b428a1faed88f148ede131e3b86ab6227c6c3f0
gh-96848: Fix -X int_max_str_digits option parsing (#96988)

Fix command line parsing: reject "-X int_max_str_digits" option with
no value (invalid) when the PYTHONINTMAXSTRDIGITS environment
variable is set to a valid limit.
Lib/test/test_cmd_line.py
Misc/NEWS.d/next/Core and Builtins/2022-09-21-14-38-31.gh-issue-96848.WuoLzU.rst [new file with mode: 0644]
Python/initconfig.c