diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-02-04 17:54:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-04 17:54:26 (GMT) |
commit | 0244e96d107833da7b91e0ec5d4c79109e4624ed (patch) | |
tree | 57b48da0675e3851ecade97f9b30afc076466b2d /Python/Python-tokenize.c | |
parent | f18341fa4e6612ee72657fc2238f0e4271867c61 (diff) | |
download | cpython-0244e96d107833da7b91e0ec5d4c79109e4624ed.zip cpython-0244e96d107833da7b91e0ec5d4c79109e4624ed.tar.gz cpython-0244e96d107833da7b91e0ec5d4c79109e4624ed.tar.bz2 |
[3.11] gh-114388: Fix warnings when assign an unsigned integer member (GH-114391) (GH-115002)
* Fix a RuntimeWarning emitted when assign an integer-like value that
is not an instance of int to an attribute that corresponds to a C
struct member of type T_UINT and T_ULONG.
* Fix a double RuntimeWarning emitted when assign a negative integer value
to an attribute that corresponds to a C struct member of type T_UINT.
(cherry picked from commit 3ddc5152550ea62280124c37d0b4339030ff7df4)
Diffstat (limited to 'Python/Python-tokenize.c')
0 files changed, 0 insertions, 0 deletions