[3.13] gh-121153: Fix some errors with use of _PyLong_CompactValue() (GH-121154) (GH-121900)
* The result has type Py_ssize_t, not intptr_t. * Type cast between unsigned and signed integer types should be explicit. * Downcasting should be explicit. * Fix integer overflow check in sum(). (cherry picked from commit 1801545)
S
Serhiy Storchaka committed
09ff4ec14f4285aca1ddf907274e2bb3a1fbb6a1
Parent: d358f74
Committed by GitHub <noreply@github.com>
on 7/17/2024, 8:04:45 AM