gh-99845: PEP 670: Convert PyObject macros to functions (#99850)
Convert macros to static inline functions to avoid macro pitfalls, like duplication of side effects: * _PyObject_SIZE() * _PyObject_VAR_SIZE() The result type is size_t (unsigned).
V
Victor Stinner committed
131801d14dfc4f0b2b79103612c88e2e282ff158
Parent: 85dd6cb
Committed by GitHub <noreply@github.com>
on 11/30/2022, 5:17:50 PM