]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-76763: Make chr() always raising ValueError for out-of-range values (GH-114882)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 10 Feb 2024 10:21:35 +0000 (12:21 +0200)
committerGitHub <noreply@github.com>
Sat, 10 Feb 2024 10:21:35 +0000 (12:21 +0200)
commite2c403892400878707a20d4b7e183de505a64ca5
tree62a1f10b10d31ae042fb60b4d48e81303055b68f
parent6e222a55b1d63de994a2ca39afd4bbf4d2fbdd34
gh-76763: Make chr() always raising ValueError for out-of-range values (GH-114882)

Previously it raised OverflowError for very large or very small values.
Lib/test/test_builtin.py
Misc/NEWS.d/next/Core and Builtins/2024-02-01-23-43-49.gh-issue-76763.o_2J6i.rst [new file with mode: 0644]
Python/bltinmodule.c
Python/clinic/bltinmodule.c.h