]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-36854: Fix reference counter in PyInit__testcapi() (GH-17338)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 22 Nov 2019 12:56:59 +0000 (04:56 -0800)
committerGitHub <noreply@github.com>
Fri, 22 Nov 2019 12:56:59 +0000 (04:56 -0800)
commitbff525566469021949910deec84e837306b79886
tree8d6fec70d0fc66449d88e8be2d0f8d2934aa79c1
parent91c15a542cb780377dcde8fc17ba93111bc1d1cf
bpo-36854: Fix reference counter in PyInit__testcapi() (GH-17338)

Increment properly Py_True/Py_False reference counter for
_testcapi.WITH_PYMALLOC variable.
(cherry picked from commit 84c36c152a2bdf98f9cc7ce0e1db98e1f442a05e)

Co-authored-by: Victor Stinner <vstinner@python.org>
Modules/_testcapimodule.c