Skip to content

Data races with frame objects #144446

Done
Done

Description

@colesbury

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 cleared
  • frame.f_lasti
  • Accessing variables through frame.f_locals

Additionally, I'd like to add more free threading tests for frames.

Linked PRs

Activity

  1. added
    type-bug
    3.14
    3.15
    on Feb 3, 2026
  2. added 2 commits that reference this issue on Feb 4, 2026
  3. added a commit that references this issue on Feb 6, 2026
  4. added a commit that references this issue on Feb 6, 2026
  5. added a commit that references this issue on Feb 15, 2026
  6. LindaSummer commented on Feb 24, 2026

    @LindaSummer
    Contributor

    Hi @colesbury ,
    I want to work on the Accessing variables through frame.f_locals sub issue.
    Could I try this sub-task? 😊

  7. colesbury commented on Feb 24, 2026

    @colesbury
    ContributorAuthor

    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.

  8. added 2 commits that reference this issue on Feb 24, 2026
  9. added a commit that references this issue on Apr 25, 2026
  10. added a commit that references this issue on Aug 19, 2026
  11. 4 remaining items

  12. added 5 commits that reference this issue on Sep 5, 2026
  13. added
    3.16
    and removed
    3.14
    3.15
    on Sep 5, 2026
  14. added
    interpreter-core
    on Sep 6, 2026
  15. added 2 commits that reference this issue on Sep 12, 2026
  16. added 2 commits that reference this issue on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.16interpreter-coretopic-free-threadingtype-bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions