FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-144774: Fix data race in BaseException.__setstate__ in free-thread… by priyanshu2282-cyber · Pull Request #144828 · python/cpython · GitHub

/ cpython Public

gh-144774: Fix data race in BaseException.__setstate__ in free-thread… - #144828

Draft
priyanshu2282-cyber wants to merge 2 commits into
python:mainfrom
priyanshu2282-cyber:fix-exception-setstate-race
Draft

gh-144774: Fix data race in BaseException.__setstate__ in free-thread…#144828
priyanshu2282-cyber wants to merge 2 commits into
python:mainfrom
priyanshu2282-cyber:fix-exception-setstate-race

Conversation

Copy link
Copy Markdown
Contributor

This change ensures that the dictionary iteration happens under the appropriate critical section, preventing concurrent access during the operation.

This fixes the race condition reported in gh-144774.

github-actions Bot commented May 6, 2026

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

github-actions Bot added the stale Stale PR or inactive for long period of time. label May 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL