| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
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
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| Expand Up | @@ -87,6 +87,11 @@ Interpreter improvements: | |||||
| Performance improvements are modest -- we expect to be improving this | ||||||
| over the next few releases. | ||||||
|
|
||||||
| * :pep:`667`: :attr:`FrameType.f_locals <frame.f_locals>` when used in | ||||||
| a function now returns a write-through proxy to the frame's locals, | ||||||
| rather than a ``dict``. See the PEP for corresponding C API changes | ||||||
|
Comment thread
Copy link
Copy Markdown
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
Suggested change
Sorry, something went wrong.
All reactions
Copy link
Copy Markdown
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityI think that would be a case of over-linking. Surely readers who know what f_locals is will be familiar with dict.
Sorry, something went wrong.
All reactions
Copy link
Copy Markdown
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualitySure, I don't feel strongly, feel free to ignore
Sorry, something went wrong.
All reactions
|
||||||
| and deprecations. | ||||||
|
|
||||||
| New typing features: | ||||||
|
|
||||||
| * :pep:`696`: Type parameters (:data:`typing.TypeVar`, :data:`typing.ParamSpec`, | ||||||
| Expand Down | ||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,3 @@ | ||
| Implement PEP 667 - converted ``frame.f_locals`` to a write through proxy | ||
| Implement PEP 667: converted :attr:`FrameType.f_locals <frame.f_locals>` | ||
| and :c:func:`PyFrame_GetLocals` to return a write-through proxy object | ||
| when the frame refers to a function or comprehension. |
| Back | FazBrowse Home | New Git URL |
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.
Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low QualityAnd apparently this also applies for type parameter scopes? Though I have no idea if that was deliberate:
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.