summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2024-05-05 15:31:26 (GMT)
committerGitHub <noreply@github.com>2024-05-05 15:31:26 (GMT)
commit9c13d9e37a194f574b8591da634bf98419786448 (patch)
treef07a1aee30fcce27fc372d7892e967e7669c6c89 /Misc
parent5a0022a1d70e4f7f781c4e8d7b43e9f5c9e2f0b4 (diff)
downloadcpython-9c13d9e37a194f574b8591da634bf98419786448.zip
cpython-9c13d9e37a194f574b8591da634bf98419786448.tar.gz
cpython-9c13d9e37a194f574b8591da634bf98419786448.tar.bz2
gh-74929: Rudimentary docs for PEP 667 (#118581)
This is *not* sufficient for the final 3.13 release, but it will do for beta 1: - What's new entry - Updated changelog entry (news blurb) - Mention the proxy for f_globals in the datamodel and Python frame object docs This doesn't have any C API details (what's new refers to the PEP).
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2024-04-27-21-44-40.gh-issue-74929.C2nESp.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2024-04-27-21-44-40.gh-issue-74929.C2nESp.rst b/Misc/NEWS.d/next/Core and Builtins/2024-04-27-21-44-40.gh-issue-74929.C2nESp.rst
index 46e628f..29c7975 100644
--- a/Misc/NEWS.d/next/Core and Builtins/2024-04-27-21-44-40.gh-issue-74929.C2nESp.rst
+++ b/Misc/NEWS.d/next/Core and Builtins/2024-04-27-21-44-40.gh-issue-74929.C2nESp.rst
@@ -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.