summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pydoc/pydoc_mod.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-02-11 10:45:58 (GMT)
committerGitHub <noreply@github.com>2024-02-11 10:45:58 (GMT)
commitd9d6909697501a2604d5895f9f88aeec61274ab0 (patch)
treecdc8dbb18978002fa06eb6565be16d045ec6c7e5 /Lib/test/test_pydoc/pydoc_mod.py
parentd2c4baa41ff93cd5695c201d40e20a88458ecc26 (diff)
downloadcpython-d9d6909697501a2604d5895f9f88aeec61274ab0.zip
cpython-d9d6909697501a2604d5895f9f88aeec61274ab0.tar.gz
cpython-d9d6909697501a2604d5895f9f88aeec61274ab0.tar.bz2
gh-115011: Improve support of __index__() in setters of members with unsigned integer type (GH-115029)
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.
Diffstat (limited to 'Lib/test/test_pydoc/pydoc_mod.py')
0 files changed, 0 insertions, 0 deletions