diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-02-11 12:03:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-11 12:03:48 (GMT) |
commit | 7273a58a858817c631bf46ca373f024891e3a22e (patch) | |
tree | 464cc057aada87c31f9543166291af7cf72c6b54 /Lib/test/test_pydoc/test_pydoc.py | |
parent | e72255054b80006f75f1b945faea35d2a42b243c (diff) | |
download | cpython-7273a58a858817c631bf46ca373f024891e3a22e.zip cpython-7273a58a858817c631bf46ca373f024891e3a22e.tar.gz cpython-7273a58a858817c631bf46ca373f024891e3a22e.tar.bz2 |
[3.11] gh-115011: Improve support of __index__() in setters of members with unsigned integer type (GH-115029) (GH-115295)
Setters for members with an unsigned integer type now support
the same range of valid values for objects that has a __index__()
method as for int.
Previously, Py_T_UINT, Py_T_ULONG and Py_T_ULLONG did not support
objects that has a __index__() method larger than LONG_MAX.
Py_T_ULLONG did not support negative ints. Now it supports them and
emits a RuntimeWarning.
(cherry picked from commit d9d6909697501a2604d5895f9f88aeec61274ab0)
Diffstat (limited to 'Lib/test/test_pydoc/test_pydoc.py')
0 files changed, 0 insertions, 0 deletions