Skip to content

[3.8] bpo-36854: Fix reference counter in PyInit__testcapi()#17338

Merged
vstinner merged 1 commit intopython:3.8from
vstinner:testcapi_refcnt
Nov 22, 2019
Merged

[3.8] bpo-36854: Fix reference counter in PyInit__testcapi()#17338
vstinner merged 1 commit intopython:3.8from
vstinner:testcapi_refcnt

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented Nov 22, 2019

Increment properly Py_True/Py_False reference counter for
_testcapi.WITH_PYMALLOC variable.

https://bugs.python.org/issue36854

Increment properly Py_True/Py_False reference counter for
_testcapi.WITH_PYMALLOC variable.
@vstinner vstinner changed the title bpo-36854: Fix reference counter in PyInit__testcapi() [3.8]bpo-36854: Fix reference counter in PyInit__testcapi() Nov 22, 2019
@vstinner vstinner changed the title [3.8]bpo-36854: Fix reference counter in PyInit__testcapi() [3.8] bpo-36854: Fix reference counter in PyInit__testcapi() Nov 22, 2019
@vstinner vstinner merged commit 84c36c1 into python:3.8 Nov 22, 2019
@vstinner vstinner deleted the testcapi_refcnt branch November 22, 2019 12:39
@miss-islington
Copy link
Copy Markdown
Contributor

Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Nov 22, 2019
Increment properly Py_True/Py_False reference counter for
_testcapi.WITH_PYMALLOC variable.
(cherry picked from commit 84c36c1)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-bot
Copy link
Copy Markdown

GH-17339 is a backport of this pull request to the 3.7 branch.

miss-islington added a commit that referenced this pull request Nov 22, 2019
Increment properly Py_True/Py_False reference counter for
_testcapi.WITH_PYMALLOC variable.
(cherry picked from commit 84c36c1)

Co-authored-by: Victor Stinner <vstinner@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants