SIGN IN SIGN UP

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().
S
Serhiy Storchaka committed
18015451d0e3f4d155d56f70faf9b76ce5b7ad79
Parent: 0759cec
Committed by GitHub <noreply@github.com> on 7/13/2024, 10:40:44 AM