gh-87347: Fix PyObject_NEW() regression (#94234) · python/cpython@44c8e68 · GitHub
Skip to content

Commit 44c8e68

Browse files
authored
gh-87347: Fix PyObject_NEW() regression (#94234)
Don't add parenthesis around the type parameter. Add unit tests on PyObject_NEW() and similar functions.
1 parent 17ed560 commit 44c8e68

2 files changed

Lines changed: 45 additions & 2 deletions

File tree

Include/objimpl.h

Lines changed: 2 additions & 2 deletions

Modules/_testcapimodule.c

Lines changed: 43 additions & 0 deletions

0 commit comments

Comments
 (0)