-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 667: Alternative to PEP to 558 for frame.f_locals and locals(). #2053
Conversation
Header should say "Standards Track" not "Standards", but I'm guessing you know that already :) |
And, yup, looks like you're seeing the same things I am. I'll leave you to it. |
pep-0667.rst
Outdated
``locals()`` will be defined as:: | ||
|
||
def locals(): | ||
f_locals = sys._getframe().f_locals |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this not be _getframe(1)
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, thanks.
LGTM. |
No description provided.