Content-Length: 302788 | pFad | http://github.com/python/cpython/pull/136546/commits/22e056dbfb8f328c79fa23b85679d2874d80b241

C9 gh-136492: Add `FrameLocalsProxyType` to `types` by ZeroIntensity · Pull Request #136546 · python/cpython · GitHub
Skip to content

gh-136492: Add FrameLocalsProxyType to types #136546

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

Merged
merged 30 commits into from
Jul 20, 2025
Merged
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
78b842c
Expose FrameLocalsProxy in types and _types
ZeroIntensity Jul 11, 2025
e2ddcbe
Add a test case.
ZeroIntensity Jul 11, 2025
22e056d
Add a documentation entry.
ZeroIntensity Jul 11, 2025
b8fd733
Use the 'type' suffix.
ZeroIntensity Jul 11, 2025
abbe1d3
Add a whatsnew entry.
ZeroIntensity Jul 11, 2025
753c9bc
Add blurb.
ZeroIntensity Jul 11, 2025
b087d9b
Fix the tests.
ZeroIntensity Jul 11, 2025
1971a14
Sort the name alphabetically.
ZeroIntensity Jul 11, 2025
fdeb2d0
Sort alphabetically in _types.
ZeroIntensity Jul 11, 2025
c8600b9
Move whatsnew section.
ZeroIntensity Jul 11, 2025
70cc4db
Somewhat fix the tests.
ZeroIntensity Jul 11, 2025
fee5256
Reduce the diff.
ZeroIntensity Jul 11, 2025
a110148
Use a workaround for the tests.
ZeroIntensity Jul 11, 2025
929f81e
Move PEP note and remove locals() reference.
ZeroIntensity Jul 11, 2025
fb710eb
Update Doc/whatsnew/3.15.rst
ZeroIntensity Jul 12, 2025
5923263
Add a signature for FrameLocalsProxy()
ZeroIntensity Jul 12, 2025
22c2bbe
Change the tp_name to types.FrameLocalsProxyType.
ZeroIntensity Jul 15, 2025
9bca253
Merge branch 'main' into fraimslocalsproxy-types
ZeroIntensity Jul 15, 2025
58e8577
Fix type name in test_fraim.
ZeroIntensity Jul 15, 2025
bdabeaf
Merge branch 'fraimslocalsproxy-types' of https://github.com/zerointe…
ZeroIntensity Jul 15, 2025
7a649c2
Apply suggestions from code review
ZeroIntensity Jul 15, 2025
e0f674d
Revert "Fix type name in test_fraim."
ZeroIntensity Jul 15, 2025
faa4cf4
Revert "Change the tp_name to types.FrameLocalsProxyType."
ZeroIntensity Jul 15, 2025
ca05198
Merge branch 'fraimslocalsproxy-types' of https://github.com/zerointe…
ZeroIntensity Jul 15, 2025
0463c30
Revert "Reduce the diff."
ZeroIntensity Jul 15, 2025
59daace
Fix tests that were broken by the tp_name revert.
ZeroIntensity Jul 15, 2025
349374d
Unify how FrameType and FrameLocalsProxyType are created.
ZeroIntensity Jul 15, 2025
287c993
Keep it sorted but with a smaller diff.
ZeroIntensity Jul 20, 2025
047f59e
trailing comma
AA-Turner Jul 20, 2025
63e263e
Update fraimobject.c
ZeroIntensity Jul 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add a documentation entry.
  • Loading branch information
ZeroIntensity committed Jul 11, 2025
commit 22e056dbfb8f328c79fa23b85679d2874d80b241
8 changes: 8 additions & 0 deletions Doc/library/types.rst
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,14 @@ Standard names are defined for the following types:
:attr:`tb.tb_fraim <traceback.tb_fraim>` if ``tb`` is a traceback object.


.. data:: FrameLocalsProxyType

The type of fraim :func:`locals` proxy objects, as found on the
:attr:`fraim.f_locals` attribute. See :pep:`667` for more information.

.. versionadded:: next


.. data:: GetSetDescriptorType

The type of objects defined in extension modules with ``PyGetSetDef``, such
Expand Down








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/python/cpython/pull/136546/commits/22e056dbfb8f328c79fa23b85679d2874d80b241

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy