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

bpo-43962: Fix _PyInterpreterState_IDIncref() #25683

Merged
merged 1 commit into from
Apr 28, 2021
Merged

bpo-43962: Fix _PyInterpreterState_IDIncref() #25683

merged 1 commit into from
Apr 28, 2021

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Apr 28, 2021

_PyInterpreterState_IDIncref() now calls
_PyInterpreterState_IDInitref() and always increments id_refcount.

https://bugs.python.org/issue43962

_PyInterpreterState_IDIncref() now calls
_PyInterpreterState_IDInitref() and always increments id_refcount.
@miss-islington
Copy link
Contributor

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

@vstinner vstinner deleted the fix_interpid_race branch April 28, 2021 11:40
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 28, 2021
_PyInterpreterState_IDIncref() now calls
_PyInterpreterState_IDInitref() and always increments id_refcount.
(cherry picked from commit 32c5a17)

Co-authored-by: Victor Stinner <vstinner@python.org>
@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label Apr 28, 2021
@bedevere-bot
Copy link

GH-25685 is a backport of this pull request to the 3.9 branch.

vstinner added a commit that referenced this pull request Apr 28, 2021
_PyInterpreterState_IDIncref() now calls
_PyInterpreterState_IDInitref() and always increments id_refcount.

(cherry picked from commit 32c5a17)
corona10 pushed a commit to corona10/cpython that referenced this pull request Jun 4, 2021
_PyInterpreterState_IDIncref() now calls
_PyInterpreterState_IDInitref() and always increments id_refcount.
(cherry picked from commit 32c5a17)

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants