[Python-checkins] gh-106976:alphabetise bullets by module name task1 (#106982)

ambv webhook-mailer at python.org
Sat Jul 22 04:34:52 EDT 2023


https://github.com/python/cpython/commit/443d9b3033bc6189e7f1ae936806779c02a46c43
commit: 443d9b3033bc6189e7f1ae936806779c02a46c43
branch: main
author: littlebutt's workshop <luogan199686 at gmail.com>
committer: ambv <lukasz at langa.pl>
date: 2023-07-22T10:34:48+02:00
summary:

gh-106976:alphabetise bullets by module name task1 (#106982)

files:
M Doc/whatsnew/3.13.rst

diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst
index 0203e3d18738d..a778e12aba1bc 100644
--- a/Doc/whatsnew/3.13.rst
+++ b/Doc/whatsnew/3.13.rst
@@ -150,30 +150,7 @@ Optimizations
 Deprecated
 ==========
 
-* :mod:`wave`: Deprecate the ``getmark()``, ``setmark()`` and ``getmarkers()``
-  methods of the :class:`wave.Wave_read` and :class:`wave.Wave_write` classes.
-  They will be removed in Python 3.15.
-  (Contributed by Victor Stinner in :gh:`105096`.)
-* :mod:`typing`: Creating a :class:`typing.NamedTuple` class using keyword arguments to denote
-  the fields (``NT = NamedTuple("NT", x=int, y=int)``) is deprecated, and will
-  be disallowed in Python 3.15. Use the class-based syntax or the functional
-  syntax instead. (Contributed by Alex Waygood in :gh:`105566`.)
-* :mod:`typing`: When using the functional syntax to create a :class:`typing.NamedTuple`
-  class or a :class:`typing.TypedDict` class, failing to pass a value to the
-  'fields' parameter (``NT = NamedTuple("NT")`` or ``TD = TypedDict("TD")``) is
-  deprecated. Passing ``None`` to the 'fields' parameter
-  (``NT = NamedTuple("NT", None)`` or ``TD = TypedDict("TD", None)``) is also
-  deprecated. Both will be disallowed in Python 3.15. To create a NamedTuple
-  class with 0 fields, use ``class NT(NamedTuple): pass`` or
-  ``NT = NamedTuple("NT", [])``. To create a TypedDict class with 0 fields, use
-  ``class TD(TypedDict): pass`` or ``TD = TypedDict("TD", {})``.
-  (Contributed by Alex Waygood in :gh:`105566` and :gh:`105570`.)
-* :func:`typing.no_type_check_decorator` is deprecated, and scheduled for
-  removal in Python 3.15. After eight years in the :mod:`typing` module, it
-  has yet to be supported by any major type checkers.
-  (Contributed by Alex Waygood in :gh:`106309`.)
-
-* :mod:`array`'s ``'u'`` format code, deprecated in docs since Python 3.3,
+* :mod:`array`: :mod:`array`'s ``'u'`` format code, deprecated in docs since Python 3.3,
   emits :exc:`DeprecationWarning` since 3.13
   and will be removed in Python 3.16.
   Use the ``'w'`` format code instead.
@@ -184,13 +161,39 @@ Deprecated
   Replace ``ctypes.ARRAY(item_type, size)`` with ``item_type * size``.
   (Contributed by Victor Stinner in :gh:`105733`.)
 
-* The :mod:`getopt` and :mod:`optparse` modules are now
+* :mod:`getopt` and :mod:`optparse` modules: They are now
   :term:`soft deprecated`: the :mod:`argparse` should be used for new projects.
   Previously, the :mod:`optparse` module was already deprecated, its removal
   was not scheduled, and no warnings was emitted: so there is no change in
   practice.
   (Contributed by Victor Stinner in :gh:`106535`.)
 
+* :mod:`typing`: Creating a :class:`typing.NamedTuple` class using keyword arguments to denote
+  the fields (``NT = NamedTuple("NT", x=int, y=int)``) is deprecated, and will
+  be disallowed in Python 3.15. Use the class-based syntax or the functional
+  syntax instead. (Contributed by Alex Waygood in :gh:`105566`.)
+
+  * When using the functional syntax to create a :class:`typing.NamedTuple`
+    class or a :class:`typing.TypedDict` class, failing to pass a value to the
+    'fields' parameter (``NT = NamedTuple("NT")`` or ``TD = TypedDict("TD")``) is
+    deprecated. Passing ``None`` to the 'fields' parameter
+    (``NT = NamedTuple("NT", None)`` or ``TD = TypedDict("TD", None)``) is also
+    deprecated. Both will be disallowed in Python 3.15. To create a NamedTuple
+    class with 0 fields, use ``class NT(NamedTuple): pass`` or
+    ``NT = NamedTuple("NT", [])``. To create a TypedDict class with 0 fields, use
+    ``class TD(TypedDict): pass`` or ``TD = TypedDict("TD", {})``.
+    (Contributed by Alex Waygood in :gh:`105566` and :gh:`105570`.)
+
+  * :func:`typing.no_type_check_decorator` is deprecated, and scheduled for
+    removal in Python 3.15. After eight years in the :mod:`typing` module, it
+    has yet to be supported by any major type checkers.
+    (Contributed by Alex Waygood in :gh:`106309`.)
+
+* :mod:`wave`: Deprecate the ``getmark()``, ``setmark()`` and ``getmarkers()``
+  methods of the :class:`wave.Wave_read` and :class:`wave.Wave_write` classes.
+  They will be removed in Python 3.15.
+  (Contributed by Victor Stinner in :gh:`105096`.)
+
 Pending Removal in Python 3.14
 ------------------------------
 



More information about the Python-checkins mailing list