SIGN IN SIGN UP

gh-99845: Use size_t type in __sizeof__() methods (#99846)

The implementation of __sizeof__() methods using _PyObject_SIZE() now
use an unsigned type (size_t) to compute the size, rather than a signed
type (Py_ssize_t).

Cast explicitly signed (Py_ssize_t) values to unsigned type
(Py_ssize_t).
V
Victor Stinner committed
85dd6cb6df996b1197266d1a50ecc9187a91e481
Parent: 18a6967
Committed by GitHub <noreply@github.com> on 11/30/2022, 4:22:52 PM