]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-92898: Enhance _testcppext test on cast to PyObject* (#93111)
authorVictor Stinner <vstinner@python.org>
Thu, 26 May 2022 23:12:39 +0000 (01:12 +0200)
committerGitHub <noreply@github.com>
Thu, 26 May 2022 23:12:39 +0000 (01:12 +0200)
commit20d30ba2ccf9182e4f08db112f428c909148a40b
treeb9d0d366c1655495789ec0c218396569df096f79
parent5f8c3fb99746b9a7fadd4ec24cc4025b9c5d79d0
gh-92898: Enhance _testcppext test on cast to PyObject* (#93111)

* Add StrongRef class.
* Rename and reformat functions of the _Py_CAST() implementation.
Include/pyport.h
Lib/test/_testcppext.cpp
Misc/NEWS.d/next/C API/2022-05-23-15-22-18.gh-issue-92898.Qjc9d3.rst [new file with mode: 0644]