Open mgorny opened 3 months ago
I'm aware of the issue. The What's New In Python 3.13 document says
To ensure debuggers and similar tools can reliably update local variables in scopes affected by this change, FrameType.f_locals now returns a write-through proxy to the frame’s local and locally referenced nonlocal variables in these scopes, rather than returning an inconsistently updated shared dict instance with undefined runtime semantics.
which seems very relevant.
I don't yet have a clear idea of what to do about this.
When running the test suite against Python 3.13.0b2, I'm getting the following failure: