summaryrefslogtreecommitdiffstats
path: root/Doc/deprecations
diff options
context:
space:
mode:
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>2024-11-04 16:49:59 (GMT)
committerGitHub <noreply@github.com>2024-11-04 16:49:59 (GMT)
commiteac41c5ddfadf52fbd84ee898ad56aedd5d90a41 (patch)
tree36b1970d47ac3ce401446718ff25c1b52e4a4255 /Doc/deprecations
parentc806cd5af677c385470001efc68da38a32919196 (diff)
downloadcpython-eac41c5ddfadf52fbd84ee898ad56aedd5d90a41.zip
cpython-eac41c5ddfadf52fbd84ee898ad56aedd5d90a41.tar.gz
cpython-eac41c5ddfadf52fbd84ee898ad56aedd5d90a41.tar.bz2
gh-101865: Docs: Keep co_lnotab deprecation for at least 3.14 (#126392)
Diffstat (limited to 'Doc/deprecations')
-rw-r--r--Doc/deprecations/pending-removal-in-3.14.rst7
-rw-r--r--Doc/deprecations/pending-removal-in-3.15.rst9
2 files changed, 9 insertions, 7 deletions
diff --git a/Doc/deprecations/pending-removal-in-3.14.rst b/Doc/deprecations/pending-removal-in-3.14.rst
index 0863853..1904465 100644
--- a/Doc/deprecations/pending-removal-in-3.14.rst
+++ b/Doc/deprecations/pending-removal-in-3.14.rst
@@ -103,13 +103,6 @@ Pending removal in Python 3.14
if :ref:`named placeholders <sqlite3-placeholders>` are used and
*parameters* is a sequence instead of a :class:`dict`.
-* :class:`types.CodeType`: Accessing :attr:`~codeobject.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`.)
-
* :mod:`typing`: :class:`!typing.ByteString`, deprecated since Python 3.9,
now causes a :exc:`DeprecationWarning` to be emitted when it is used.
diff --git a/Doc/deprecations/pending-removal-in-3.15.rst b/Doc/deprecations/pending-removal-in-3.15.rst
index 17029b8..3b03e1f 100644
--- a/Doc/deprecations/pending-removal-in-3.15.rst
+++ b/Doc/deprecations/pending-removal-in-3.15.rst
@@ -59,6 +59,15 @@ Pending removal in Python 3.15
but the C version allows any number of positional or keyword arguments,
ignoring every argument.
+* :mod:`types`:
+
+ * :class:`types.CodeType`: Accessing :attr:`~codeobject.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.15.
+ (Contributed by Nikita Sobolev in :gh:`101866`.)
+
* :mod:`typing`:
* The undocumented keyword argument syntax for creating