Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
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
Update 3.14.rst
  • Loading branch information
gaogaotiantian authored Feb 8, 2025
commit 5678d104a88958d5d5bd30f3d0a658134480998b
8 changes: 5 additions & 3 deletions Doc/whatsnew/3.14.rst
Original file line number Diff line number Diff line change
Expand Up @@ -613,9 +613,11 @@ Deprecated
(Contributed by Victor Stinner in :gh:`120743`.)

* :mod:`pdb`:
The undocumented ``pdb.Pdb.curframe_locals`` is deprecated because with
PEP 667 we don't need to cache the locals anymore. Derived debuggers
should access ``pdb.Pdb.curframe.f_locals`` directly.
The undocumented ``pdb.Pdb.curframe_locals`` attribtue is now a deprecated
read-only property. The low overhead dynamic frame locals access added in
Python 3.13 by PEP 667 means the frame locals cache reference previously
stored in this attribute is no longer needed. Derived debuggers should access
``pdb.Pdb.curframe.f_locals`` directly in Python 3.13 and later versions.
(Contributed by Tian Gao in :gh:`124369` and :gh:`125951`.)

* :mod:`symtable`:
Expand Down