]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42262: Py_NewRef() casts its argument to PyObject* (GH-23626)
authorVictor Stinner <vstinner@python.org>
Thu, 3 Dec 2020 13:01:10 +0000 (14:01 +0100)
committerGitHub <noreply@github.com>
Thu, 3 Dec 2020 13:01:10 +0000 (14:01 +0100)
commit8b6c4a921af6d5d0a9640211ac93d7886a55a8f3
tree0c2af672c699e9d07e0da8780b4d87309b1dc3fc
parent7e5e13d113798117d5ef25c5ffdbd0eb39420f98
bpo-42262: Py_NewRef() casts its argument to PyObject* (GH-23626)

Write also unit tests on Py_NewRef() and Py_XNewRef().
Include/object.h
Modules/_testcapimodule.c