]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Document 3.13, 3.14 and future removals (#108055)
authorHugo van Kemenade <hugovk@users.noreply.github.com>
Tue, 22 Aug 2023 18:40:46 +0000 (21:40 +0300)
committerGitHub <noreply@github.com>
Tue, 22 Aug 2023 18:40:46 +0000 (20:40 +0200)
Doc/whatsnew/3.12.rst

index ff651bcd047289b347193c126128ca4365e3ed09..b557e6cde6a209e6692734844770e5d369921884 100644 (file)
@@ -1112,6 +1112,10 @@ Modules (see :pep:`594`):
 * :mod:`!uu`
 * :mod:`!xdrlib`
 
+Other modules:
+
+* :mod:`!lib2to3`, and the :program:`2to3` program (:gh:`84540`)
+
 APIs:
 
 * :class:`!configparser.LegacyInterpolation` (:gh:`90765`)
@@ -1146,6 +1150,10 @@ Pending Removal in Python 3.14
   Use :class:`ast.Constant` instead.
   (Contributed by Serhiy Storchaka in :gh:`90953`.)
 
+* :mod:`asyncio`: the *msg* parameter of both
+  :meth:`asyncio.Future.cancel` and
+  :meth:`asyncio.Task.cancel` (:gh:`90985`)
+
 * :mod:`collections.abc`: Deprecated :class:`collections.abc.ByteString`.
   Prefer :class:`Sequence` or :class:`collections.abc.Buffer`.
   For use in typing, prefer a union, like ``bytes | bytearray``, or :class:`collections.abc.Buffer`.
@@ -1212,12 +1220,17 @@ Pending Removal in Python 3.14
   May be removed in 3.14.
   (Contributed by Nikita Sobolev in :gh:`101866`.)
 
+* Creating :c:data:`immutable types <Py_TPFLAGS_IMMUTABLETYPE>` with mutable
+  bases using the C API (:gh:`95388`)
+
 Pending Removal in Future Versions
 ----------------------------------
 
 The following APIs were deprecated in earlier Python versions and will be removed,
 although there is currently no date scheduled for their removal.
 
+* :mod:`array`'s ``'u'`` format code (:gh:`57281`)
+
 * :class:`typing.Text` (:gh:`92332`)
 
 * Currently Python accepts numeric literals immediately followed by keywords,