Skip to content

[3.7] gh-95778: Mention sys.set_int_max_str_digits() in error message (GH-96874) (GH-96877) - #97836

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

ambv merged 1 commit into
python:3.7from
miss-islington:backport-4118813-3.7

Conversation

@miss-islington

@miss-islington miss-islington commented Oct 4, 2022 •

Copy link
Copy Markdown
Contributor

When ValueError is raised if an integer is larger than the limit,
mention sys.set_int_max_str_digits() in the error message.

(cherry picked from commit e841ffc)

Co-authored-by: Ned Deily nad@python.org
(cherry picked from commit 4118813)

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

…essage (pythonGH-96874) (pythonGH-96877)

When ValueError is raised if an integer is larger than the limit,
mention sys.set_int_max_str_digits() in the error message.

(cherry picked from commit e841ffc)

Co-authored-by: Ned Deily <nad@python.org>
(cherry picked from commit 4118813)

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

Copy link
Copy Markdown
Contributor Author

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

@ambv ambv changed the title [3.7] [3.9] gh-95778: Mention sys.set_int_max_str_digits() in error message (GH-96874) (GH-96877) Oct 4, 2022
@ambv

ambv commented Oct 4, 2022

Copy link
Copy Markdown
Contributor

Landing this as I landed GH-97835 in 3.8 and GH-96877 in 3.9.

@ambv
ambv merged commit 7fcfa94 into python:3.7 Oct 4, 2022
@miss-islington
miss-islington deleted the backport-4118813-3.7 branch October 4, 2022 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants