diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-07-13 10:40:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-13 10:40:44 (GMT) |
commit | 18015451d0e3f4d155d56f70faf9b76ce5b7ad79 (patch) | |
tree | 910432b2dbd6c372f70e340d456612909f45f14c /Lib/test/test_pyrepl/test_pyrepl.py | |
parent | 0759cecd9d945dfbac2226febaba51f41195555c (diff) | |
download | cpython-18015451d0e3f4d155d56f70faf9b76ce5b7ad79.zip cpython-18015451d0e3f4d155d56f70faf9b76ce5b7ad79.tar.gz cpython-18015451d0e3f4d155d56f70faf9b76ce5b7ad79.tar.bz2 |
gh-121153: Fix some errors with use of _PyLong_CompactValue() (GH-121154)
* The result has type Py_ssize_t, not intptr_t.
* Type cast between unsigned and signdet integer types should be explicit.
* Downcasting should be explicit.
* Fix integer overflow check in sum().
Diffstat (limited to 'Lib/test/test_pyrepl/test_pyrepl.py')
0 files changed, 0 insertions, 0 deletions