| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Couple of suggestions inline for the exact deprecation warning wording, but I think we do need to mention this in NEWS and the What's New docs:
Sorry, something went wrong.
Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
|
@ncoghlan I gave myself some vacation from CPython a few weeks ago. Now I'm picking up the unfinished stuff. I added the news to explain the deprecation. |
Sorry, something went wrong.
The regression was detected by ipython's own testsuite. This part of the IPython code is expected to break again with python 3.14, because the curframe_locals attribute was removed in the PR cpython#124369. However, there are plans to restore this attribute for backward compatibility in PR cpython#125951 before the CPython 3.14 release. Url: ipython/ipython#14598 Url: ipython/ipython@c1e945b Url: python/cpython#124369 Url: python/cpython#125951 Url: ipython/ipython#14620 Closes: https://bugs.gentoo.org/946568 Signed-off-by: Gabi Falk <gabifalk@gmx.com>
The regression was detected by ipython's own testsuite. This part of the IPython code is expected to break again with python 3.14, because the curframe_locals attribute was removed in the PR cpython#124369. However, there are plans to restore this attribute for backward compatibility in PR cpython#125951 before the CPython 3.14 release. Url: ipython/ipython#14598 Url: ipython/ipython@c1e945b Url: python/cpython#124369 Url: python/cpython#125951 Url: ipython/ipython#14620 Closes: https://bugs.gentoo.org/946568 Signed-off-by: Gabi Falk <gabifalk@gmx.com>
The regression was detected by ipython's own testsuite. This part of the IPython code is expected to break again with python 3.14, because the curframe_locals attribute was removed in the PR cpython#124369. However, there are plans to restore this attribute for backward compatibility in PR cpython#125951 before the CPython 3.14 release. Url: ipython/ipython#14598 Url: ipython/ipython@c1e945b Url: python/cpython#124369 Url: python/cpython#125951 Url: ipython/ipython#14620 Closes: https://bugs.gentoo.org/946568 Signed-off-by: Gabi Falk <gabifalk@gmx.com> Closes: #39746 Signed-off-by: Sam James <sam@gentoo.org>
There was a problem hiding this comment.
Suggested wording adjustment for the What's New, but otherwise LGTM!
Sorry, something went wrong.
| 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. |
There was a problem hiding this comment.
| 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`` attribute is now a deprecated read-only property | |
| accessing ``pdb.Pdb.curframe.f_locals``. 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. |
Sorry, something went wrong.
There was a problem hiding this comment.
Is this correct? Line 617 does not read like a correct sentence.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
We removed pdb.Pdb.curframe_locals in #124369, but there are 3rd party libraries depending on it. We add it back but give a deprecation warning so we can really remove it in the future.