summaryrefslogtreecommitdiffstats
path: root/PCbuild/_zoneinfo.vcxproj
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-04-25 22:11:34 (GMT)
committerGitHub <noreply@github.com>2022-04-25 22:11:34 (GMT)
commit61381d7da1233849b280706f11dbcae4deed949d (patch)
treea3360edc814d774a13d5170d2d86ca9279c214be /PCbuild/_zoneinfo.vcxproj
parent1cd8c29dace2dc6b91503803113fea4288ca842b (diff)
downloadcpython-61381d7da1233849b280706f11dbcae4deed949d.zip
cpython-61381d7da1233849b280706f11dbcae4deed949d.tar.gz
cpython-61381d7da1233849b280706f11dbcae4deed949d.tar.bz2
gh-89653: PEP 670: Functions don't cast pointers (#91697)
In the limited C API version 3.11 and newer, the following functions no longer cast their object pointer argument with _PyObject_CAST() or _PyObject_CAST_CONST(): * Py_REFCNT(), Py_TYPE(), Py_SIZE() * Py_SET_REFCNT(), Py_SET_TYPE(), Py_SET_SIZE() * Py_IS_TYPE() * Py_INCREF(), Py_DECREF() * Py_XINCREF(), Py_XDECREF() * Py_NewRef(), Py_XNewRef() * PyObject_TypeCheck() * PyType_Check() * PyType_CheckExact() Split Py_DECREF() implementation in 3 versions to make the code more readable. Update the xxlimited.c extension, which uses the limited C API version 3.11, to pass PyObject* to these functions.
Diffstat (limited to 'PCbuild/_zoneinfo.vcxproj')
0 files changed, 0 insertions, 0 deletions