]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-87347: Fix PyObject_NEW() regression (#94234)
authorVictor Stinner <vstinner@python.org>
Sun, 26 Jun 2022 10:40:17 +0000 (12:40 +0200)
committerGitHub <noreply@github.com>
Sun, 26 Jun 2022 10:40:17 +0000 (12:40 +0200)
commit44c8e68b8cae2627ffe54a2ef407af0271981ed3
tree977aed7c3ef385efc4da76899f09678b3f62057f
parent17ed560fcd0a1442485f9bd48884bbe412f35abc
gh-87347: Fix PyObject_NEW() regression (#94234)

Don't add parenthesis around the type parameter.

Add unit tests on PyObject_NEW() and similar functions.
Include/objimpl.h
Modules/_testcapimodule.c