diff options
author | Victor Stinner <vstinner@python.org> | 2022-11-29 11:15:21 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-29 11:15:21 (GMT) |
commit | 74d5f61ebd1cb14907bf7dae1ad9c1e676707bc5 (patch) | |
tree | 2ff77f8a0571edb5690e9e22209fb76e99a81560 /Python/frame.c | |
parent | 4246fe977d850f8b78505c982f055d33d52ff339 (diff) | |
download | cpython-74d5f61ebd1cb14907bf7dae1ad9c1e676707bc5.zip cpython-74d5f61ebd1cb14907bf7dae1ad9c1e676707bc5.tar.gz cpython-74d5f61ebd1cb14907bf7dae1ad9c1e676707bc5.tar.bz2 |
gh-99845: Clean up _PyObject_VAR_SIZE() usage (#99847)
* code_sizeof() now uses an unsigned type (size_t) to compute the result.
* Fix _PyObject_ComputedDictPointer(): cast _PyObject_VAR_SIZE() to
Py_ssize_t, rather than long: it's a different type on 64-bit Windows.
* Clarify that _PyObject_VAR_SIZE() uses an unsigned type (size_t).
Diffstat (limited to 'Python/frame.c')
0 files changed, 0 insertions, 0 deletions