Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accommodate FrameLocalsProxy introduction in Python 3.13 #92

Closed

Conversation

musicinmybrain
Copy link
Contributor

The frame.f_locals is now a write-through proxy object of type FrameLocalsProxy; see PEP 667. This fix is based on zopefoundation/zope.interface#294 and specifically on
zopefoundation/zope.interface#294 (comment).

Fixes #91.

@musicinmybrain musicinmybrain changed the title Accommodate FrameLocalsProxy introduction Python 3.13 Accommodate FrameLocalsProxy introduction in Python 3.13 May 15, 2024
The `frame.f_locals` is now a write-through proxy object of type
`FrameLocalsProxy`; see PEP 667. This fix is based on
zopefoundation/zope.interface#294 and
specifically on
zopefoundation/zope.interface#294 (comment).

Fixes Pylons#91.
@musicinmybrain
Copy link
Contributor Author

I tested this with tox and tox -e py313; it worked on Python 3.13.0b1 and produced no regressions on the other versions.

@mcdonc
Copy link
Member

mcdonc commented Dec 2, 2024

Merged into a general CI commit in #94, thanks!

@mcdonc mcdonc closed this Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test failure in FrameInfoTest::testCallInfo on Python 3.13
2 participants