diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-02-11 10:45:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-11 10:45:58 (GMT) |
commit | d9d6909697501a2604d5895f9f88aeec61274ab0 (patch) | |
tree | cdc8dbb18978002fa06eb6565be16d045ec6c7e5 /Lib/test/test_pydoc/pydoc_mod.py | |
parent | d2c4baa41ff93cd5695c201d40e20a88458ecc26 (diff) | |
download | cpython-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