◐ Shell
clean mode source ↗

[3.8] gh-96848: Fix -X int_max_str_digits option parsing (GH-96988) by miss-islington · Pull Request #97575 · python/cpython

Conversation

)

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.
(cherry picked from commit 4135166)

Co-authored-by: Victor Stinner <vstinner@python.org>

vstinner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, good bot.

@miss-islington

@vstinner: Status check is done, and it's a failure or timed out ❌.

@miss-islington

Status check is done, and it's a success ✅.

@miss-islington

Sorry, I can't merge this PR. Reason: You're not authorized to push to this branch. Visit https://docs.github.com/articles/about-protected-branches/ for more information..

@ambv

I re-ran the failing Windows test and it passed. Landing both this and GH-97574.