]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-95778: Mention sys.set_int_max_str_digits() in error message (#96874)
authorVictor Stinner <vstinner@python.org>
Fri, 16 Sep 2022 18:04:37 +0000 (20:04 +0200)
committerGitHub <noreply@github.com>
Fri, 16 Sep 2022 18:04:37 +0000 (20:04 +0200)
commite841ffc915e82e5ea6e3b473205417d63494808d
treea7e63fa84836f4d41ce47b01658e5e5e591dd24c
parent426d72e7ddb0af5cf851914ac75127186dd1ff04
gh-95778: Mention sys.set_int_max_str_digits() in error message (#96874)

When ValueError is raised if an integer is larger than the limit,
mention sys.set_int_max_str_digits() in the error message.
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