diff options
author | Victor Stinner <vstinner@python.org> | 2022-09-26 15:20:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-26 15:20:08 (GMT) |
commit | 41351662bcd21672d8ccfa62fe44d72027e6bcf8 (patch) | |
tree | 97bede41a5c3871f7601794079311892137613c9 /Misc | |
parent | 2b428a1faed88f148ede131e3b86ab6227c6c3f0 (diff) | |
download | cpython-41351662bcd21672d8ccfa62fe44d72027e6bcf8.zip cpython-41351662bcd21672d8ccfa62fe44d72027e6bcf8.tar.gz cpython-41351662bcd21672d8ccfa62fe44d72027e6bcf8.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2022-09-21-14-38-31.gh-issue-96848.WuoLzU.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-09-21-14-38-31.gh-issue-96848.WuoLzU.rst b/Misc/NEWS.d/next/Core and Builtins/2022-09-21-14-38-31.gh-issue-96848.WuoLzU.rst new file mode 100644 index 0000000..a9b04ce --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2022-09-21-14-38-31.gh-issue-96848.WuoLzU.rst @@ -0,0 +1,3 @@ +Fix command line parsing: reject :option:`-X int_max_str_digits <-X>` option +with no value (invalid) when the :envvar:`PYTHONINTMAXSTRDIGITS` environment +variable is set to a valid limit. Patch by Victor Stinner. |