]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-101865: Docs: Keep co_lnotab deprecation for at least 3.14 (#126392)
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Mon, 4 Nov 2024 16:49:59 +0000 (18:49 +0200)
committerGitHub <noreply@github.com>
Mon, 4 Nov 2024 16:49:59 +0000 (18:49 +0200)
Doc/deprecations/pending-removal-in-3.14.rst
Doc/deprecations/pending-removal-in-3.15.rst
Doc/reference/datamodel.rst
Doc/whatsnew/3.12.rst

index 0863853339b8b5261a71ae1698c5905b29cb3872..1904465b85650690634d4a0ccb3a64dc563f2da7 100644 (file)
@@ -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.
 
index 17029b8d4773bdba89595745eadefee67fb6f704..3b03e1f49e6754a99ccf770a444c832510be6ba1 100644 (file)
@@ -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
index dfd1addf656a855057bf0482d65726556eb07d85..41133b92ed88ec1c564cf6de134ca8b1d8477e5b 100644 (file)
@@ -1507,7 +1507,7 @@ Special read-only attributes
 
        .. deprecated:: 3.12
           This attribute of code objects is deprecated, and may be removed in
-          Python 3.14.
+          Python 3.15.
 
    * - .. attribute:: codeobject.co_stacksize
      - The required stack size of the code object
index 3640095acbaa2b22543cb0bc12faddc33c1dc0af..d691185cb1ffc57481a4d2644701ea80cba20c96 100644 (file)
@@ -1327,8 +1327,8 @@ Deprecated
 
 * Accessing :attr:`~codeobject.co_lnotab` on code objects was deprecated in
   Python 3.10 via :pep:`626`,
-  but it only got a proper :exc:`DeprecationWarning` in 3.12,
-  therefore it will be removed in 3.14.
+  but it only got a proper :exc:`DeprecationWarning` in 3.12.
+  May be removed in 3.15.
   (Contributed by Nikita Sobolev in :gh:`101866`.)
 
 .. include:: ../deprecations/pending-removal-in-3.13.rst