Skip to content

[3.9] gh-96848: Fix -X int_max_str_digits option parsing (GH-96988) - #97574

Merged
ambv merged 1 commit into
python:3.9from
miss-islington:backport-4135166-3.9
Oct 4, 2022
Merged

ambv merged 1 commit into
python:3.9from
miss-islington:backport-4135166-3.9

Conversation

@miss-islington

@miss-islington miss-islington commented Sep 26, 2022 •

Copy link
Copy Markdown
Contributor

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

)

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 vstinner left a comment

Copy link
Copy Markdown
Member

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

Copy link
Copy Markdown
Contributor Author

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

@ambv

ambv commented Oct 4, 2022

Copy link
Copy Markdown
Contributor

Test failing on Windows, looks legitimate: AssertionError: 0.015625 not less than 0.013671875. I'll re-run just in case.

@miss-islington

Copy link
Copy Markdown
Contributor Author

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

@miss-islington

Copy link
Copy Markdown
Contributor Author

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

ambv commented Oct 4, 2022

Copy link
Copy Markdown
Contributor

...and it passed 🤔

@ambv
ambv merged commit 358b7a4 into python:3.9 Oct 4, 2022
@miss-islington
miss-islington deleted the backport-4135166-3.9 branch October 4, 2022 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants