Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Nov 22, 2019
Merged

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

merged 1 commit into from
Nov 22, 2019

Conversation

vstinner
Copy link
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
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

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