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

PEP 558: Make fast locals proxy independent of the legacy dynamic snapshot #1787

Open
wants to merge 4 commits into
base: master
from

Conversation

@ncoghlan
Copy link
Contributor

@ncoghlan ncoghlan commented Jan 30, 2021

This incorporates @markshannon's suggestion that the fast locals proxy only access the underlying frame storage, and not support writing additional keys to the dynamic snapshot stored in the C level f_locals struct field.

It also summarises the proposed CPython implementation changes, and cleans up quite a few old references to the idea of storing an instance of the fast locals proxy in the C level f_locals struct field (that hasn't been part of the proposal for ages, but it turned out there were still a lot of references to things working that way that I had missed).

@ncoghlan ncoghlan changed the title PEP 558: Add open question around frame proxy reads PEP 558: Make fast locals proxy independent of the legacy dynamic snapshot Jan 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants