diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2023-04-03 15:35:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-03 15:35:04 (GMT) |
commit | 2a721258a199e9bcdcee2069719ad9c8f8c0d030 (patch) | |
tree | 537143ffa297a94a60eb49c083252932a77d5773 /Doc/whatsnew | |
parent | e6f7d35be7fb65d8624e9411251554c9dee0c931 (diff) | |
download | cpython-2a721258a199e9bcdcee2069719ad9c8f8c0d030.zip cpython-2a721258a199e9bcdcee2069719ad9c8f8c0d030.tar.gz cpython-2a721258a199e9bcdcee2069719ad9c8f8c0d030.tar.bz2 |
gh-101865: Deprecate `co_lnotab` from code objects as per PEP 626 (#101866)
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.12.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index 3df3ef7..88b9982 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -622,6 +622,12 @@ Pending Removal in Python 3.14 functions that have been deprecated since Python 2 but only gained a proper :exc:`DeprecationWarning` in 3.12. Remove them in 3.14. +* Accessing ``co_lnotab`` was deprecated in :pep:`626` since 3.10 + and was planned to be removed in 3.12 + but it only got a proper :exc:`DeprecationWarning` in 3.12. + May be removed in 3.14. + (Contributed by Nikita Sobolev in :gh:`101866`.) + * The *onerror* argument of :func:`shutil.rmtree` is deprecated in 3.12, and will be removed in 3.14. |