Repository navigation
Data races with frame objects #144446
Copy link
Copy link
Open
Labels
3.16new features, bugs and security fixesnew features, bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)topic-free-threadingtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Activity
- addedtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error3.14bugs and security fixesbugs and security fixes3.15bugs and security fixesbugs and security fixes
on Feb 3, 2026 Hi @colesbury ,
I want to work on theAccessing variables through frame.f_localssub issue.
Could I try this sub-task? 😊Thanks @LindaSummer, but I've already started on it. I'll open a draft PR with the changes. Still thinking about if this is the way I want to implement it.
Reacted by Edward Xu- added a commit that references this issue
on Sep 2, 2026 - added 5 commits that reference this issue
on Sep 5, 2026 - added3.16new features, bugs and security fixesnew features, bugs and security fixesand removed3.14bugs and security fixesbugs and security fixes3.15bugs and security fixesbugs and security fixes
on Sep 5, 2026 - addedinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)
on Sep 6, 2026
Metadata
Metadata
Assignees
Labels
3.16new features, bugs and security fixesnew features, bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)topic-free-threadingtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Bug report
We've fixed most of the data races with Python frame objects in:
But I think we missed a few places, such as:
repr(frame)on an frame that is executing or in the process of getting clearedframe.f_lastiframe.f_localsAdditionally, I'd like to add more free threading tests for frames.
Linked PRs