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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

musicinmybrain
Copy link

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
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.

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
1 participant