cpython/Lib/test/test_capi
Serhiy Storchaka 7273a58a85
[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 d9d6909697)
2024-02-11 12:03:48 +00:00
..
__init__.py
__main__.py
test_codecs.py [3.11] gh-99612: Fix PyUnicode_DecodeUTF8Stateful() for ASCII-only data (GH-99613) (GH-107224) 2023-07-25 14:15:14 +03:00
test_eval_code_ex.py [3.11] gh-101072: support default and kw default in PyEval_EvalCodeEx for 3.11+ (GH-101127) (#101636) 2023-02-07 13:36:35 +00:00
test_getargs.py [3.11] gh-112438: Fix support of format units with the "e" prefix in nested tuples in PyArg_Parse (gh-112439) (GH-112461) 2023-11-27 18:11:09 +00:00
test_misc.py [3.11] gh-81682: Fix test failures when CPython is built without docstrings (GH-113410) (GH-113430) 2023-12-23 11:38:07 +00:00
test_structmembers.py [3.11] gh-115011: Improve support of __index__() in setters of members with unsigned integer type (GH-115029) (GH-115295) 2024-02-11 12:03:48 +00:00
test_unicode.py