]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] gh-95778: Mention sys.set_int_max_str_digits() in error message (#96874) (...
authorVictor Stinner <vstinner@python.org>
Tue, 4 Oct 2022 17:05:45 +0000 (19:05 +0200)
committerGitHub <noreply@github.com>
Tue, 4 Oct 2022 17:05:45 +0000 (10:05 -0700)
commit41188134bd2120f0cedd681ed88743c11c7f3742
tree94477836c1134bdef3e2c29c5590721df70017f5
parent9b409e418ac2bfac62a4ee7f6514e093a14bf26e
[3.9] gh-95778: Mention sys.set_int_max_str_digits() in error message (#96874) (#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 e841ffc915e82e5ea6e3b473205417d63494808d)

Co-authored-by: Ned Deily <nad@python.org>
Doc/library/stdtypes.rst
Misc/NEWS.d/next/Core and Builtins/2022-09-16-19-02-40.gh-issue-95778.cJmnst.rst [new file with mode: 0644]
Objects/longobject.c