Skip to content

Conversation

@ericsnowcurrently
Copy link
Member

@ericsnowcurrentlyericsnowcurrently commented Jun 14, 2024

gh-120182 added new global state (interp_count), but didn't add thread-safety for it. This change eliminates the possible race.

@ericsnowcurrentlyericsnowcurrently removed the request for review from markshannonJune 17, 2024 17:00
@ericsnowcurrentlyericsnowcurrently merged commit 2c66318 into python:mainJun 17, 2024
@miss-islington-app
Copy link

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

@ericsnowcurrentlyericsnowcurrently deleted the fix-gh-120524-racy-builtin-type-lifecycle branch June 17, 2024 19:16
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 17, 2024
…s[i].interp_count (pythongh-120529) pythongh-120182 added new global state (interp_count), but didn't add thread-safety for it. This change eliminates the possible race. (cherry picked from commit 2c66318) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
@bedevere-app
Copy link

GH-120657 is a backport of this pull request to the 3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13 bugs and security fixes label Jun 17, 2024
ericsnowcurrently added a commit that referenced this pull request Jun 17, 2024
…es[i].interp_count (gh-120657) gh-120182 added new global state (interp_count), but didn't add thread-safety for it. This change eliminates the possible race. (cherry picked from commit 2c66318, AKA gh-120529) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
mrahtz pushed a commit to mrahtz/cpython that referenced this pull request Jun 30, 2024
…s[i].interp_count (pythongh-120529) pythongh-120182 added new global state (interp_count), but didn't add thread-safety for it. This change eliminates the possible race.
noahbkim pushed a commit to hudson-trading/cpython that referenced this pull request Jul 11, 2024
…s[i].interp_count (pythongh-120529) pythongh-120182 added new global state (interp_count), but didn't add thread-safety for it. This change eliminates the possible race.
estyxx pushed a commit to estyxx/cpython that referenced this pull request Jul 17, 2024
…s[i].interp_count (pythongh-120529) pythongh-120182 added new global state (interp_count), but didn't add thread-safety for it. This change eliminates the possible race.
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@ericsnowcurrently@Fidget-Spinner@kumaraditya303