Skip to content

Commit 32c3121

Browse files
committed
Add module headers to removals and sort
1 parent e3b52e1 commit 32c3121

File tree

1 file changed

+76
-38
lines changed

1 file changed

+76
-38
lines changed

Doc/whatsnew/3.13.rst

+76-38
Original file line numberDiff line numberDiff line change
@@ -801,37 +801,80 @@ PEP 594: dead batteries
801801
* :mod:`!xdrlib`.
802802
(Contributed by Victor Stinner in :gh:`104773`.)
803803

804-
* Remove support for the keyword-argument method of creating
805-
:class:`typing.TypedDict` types, deprecated in Python 3.11.
806-
(Contributed by Tomas Roun in :gh:`104786`.)
807-
804+
2to3
805+
----
808806

809807
* Remove the ``2to3`` program and the :mod:`!lib2to3` module,
810808
deprecated in Python 3.11.
811809
(Contributed by Victor Stinner in :gh:`104780`.)
812810

813-
* Namespaces ``typing.io`` and ``typing.re``, deprecated in Python 3.8,
814-
are now removed. The items in those namespaces can be imported directly
815-
from :mod:`typing`. (Contributed by Sebastian Rittau in :gh:`92871`.)
816-
817-
* Remove the untested and undocumented :mod:`webbrowser` :class:`!MacOSX` class,
818-
deprecated in Python 3.11.
819-
Use the :class:`!MacOSXOSAScript` class (introduced in Python 3.2) instead.
820-
(Contributed by Hugo van Kemenade in :gh:`104804`.)
821-
822-
* Remove support for using :class:`pathlib.Path` objects as context managers.
823-
This functionality was deprecated and made a no-op in Python 3.9.
811+
configparser
812+
------------
824813

825814
* Remove the undocumented :class:`!configparser.LegacyInterpolation` class,
826815
deprecated in the docstring since Python 3.2,
827816
and with a deprecation warning since Python 3.11.
828817
(Contributed by Hugo van Kemenade in :gh:`104886`.)
829818

819+
locale
820+
------
821+
822+
* Remove ``locale.resetlocale()`` function deprecated in Python 3.11:
823+
use ``locale.setlocale(locale.LC_ALL, "")`` instead.
824+
(Contributed by Victor Stinner in :gh:`104783`.)
825+
826+
logging
827+
-------
828+
829+
* :mod:`logging`: Remove undocumented and untested ``Logger.warn()`` and
830+
``LoggerAdapter.warn()`` methods and ``logging.warn()`` function. Deprecated
831+
since Python 3.3, they were aliases to the :meth:`logging.Logger.warning`
832+
method, :meth:`!logging.LoggerAdapter.warning` method and
833+
:func:`logging.warning` function.
834+
(Contributed by Victor Stinner in :gh:`105376`.)
835+
836+
pathlib
837+
-------
838+
839+
* Remove support for using :class:`pathlib.Path` objects as context managers.
840+
This functionality was deprecated and made a no-op in Python 3.9.
841+
842+
re
843+
--
844+
845+
* Remove undocumented, never working, and deprecated ``re.template`` function
846+
and ``re.TEMPLATE`` flag (and ``re.T`` alias).
847+
(Contributed by Serhiy Storchaka and Nikita Sobolev in :gh:`105687`.)
848+
849+
tkinter
850+
-------
851+
852+
* Remove the :mod:`!tkinter.tix` module, deprecated in Python 3.6. The
853+
third-party Tix library which the module wrapped is unmaintained.
854+
(Contributed by Zachary Ware in :gh:`75552`.)
855+
856+
turtle
857+
------
858+
830859
* Remove the :meth:`!turtle.RawTurtle.settiltangle` method,
831860
deprecated in docs since Python 3.1
832861
and with a deprecation warning since Python 3.11.
833862
(Contributed by Hugo van Kemenade in :gh:`104876`.)
834863

864+
typing
865+
------
866+
867+
* Namespaces ``typing.io`` and ``typing.re``, deprecated in Python 3.8,
868+
are now removed. The items in those namespaces can be imported directly
869+
from :mod:`typing`. (Contributed by Sebastian Rittau in :gh:`92871`.)
870+
871+
* Remove support for the keyword-argument method of creating
872+
:class:`typing.TypedDict` types, deprecated in Python 3.11.
873+
(Contributed by Tomas Roun in :gh:`104786`.)
874+
875+
unittest
876+
--------
877+
835878
* Removed the following :mod:`unittest` functions, deprecated in Python 3.11:
836879

837880
* :func:`!unittest.findTestCases`
@@ -850,26 +893,8 @@ PEP 594: dead batteries
850893
method, deprecated in Python 3.11.
851894
(Contributed by Hugo van Kemenade in :gh:`104992`.)
852895

853-
* Remove the :mod:`!tkinter.tix` module, deprecated in Python 3.6. The
854-
third-party Tix library which the module wrapped is unmaintained.
855-
(Contributed by Zachary Ware in :gh:`75552`.)
856-
857-
* Remove the old trashcan macros ``Py_TRASHCAN_SAFE_BEGIN`` and
858-
``Py_TRASHCAN_SAFE_END``. They should be replaced by the new macros
859-
``Py_TRASHCAN_BEGIN`` and ``Py_TRASHCAN_END``. The new macros were
860-
added in Python 3.8 and the old macros were deprecated in Python 3.11.
861-
(Contributed by Irit Katriel in :gh:`105111`.)
862-
863-
* Remove ``locale.resetlocale()`` function deprecated in Python 3.11:
864-
use ``locale.setlocale(locale.LC_ALL, "")`` instead.
865-
(Contributed by Victor Stinner in :gh:`104783`.)
866-
867-
* :mod:`logging`: Remove undocumented and untested ``Logger.warn()`` and
868-
``LoggerAdapter.warn()`` methods and ``logging.warn()`` function. Deprecated
869-
since Python 3.3, they were aliases to the :meth:`logging.Logger.warning`
870-
method, :meth:`!logging.LoggerAdapter.warning` method and
871-
:func:`logging.warning` function.
872-
(Contributed by Victor Stinner in :gh:`105376`.)
896+
urllib
897+
------
873898

874899
* Remove *cafile*, *capath* and *cadefault* parameters of the
875900
:func:`urllib.request.urlopen` function, deprecated in Python 3.6: use the
@@ -879,14 +904,27 @@ PEP 594: dead batteries
879904
certificates for you.
880905
(Contributed by Victor Stinner in :gh:`105382`.)
881906

907+
webbrowser
908+
----------
909+
910+
* Remove the untested and undocumented :mod:`webbrowser` :class:`!MacOSX` class,
911+
deprecated in Python 3.11.
912+
Use the :class:`!MacOSXOSAScript` class (introduced in Python 3.2) instead.
913+
(Contributed by Hugo van Kemenade in :gh:`104804`.)
914+
882915
* Remove deprecated ``webbrowser.MacOSXOSAScript._name`` attribute.
883916
Use :attr:`webbrowser.MacOSXOSAScript.name <webbrowser.controller.name>`
884917
attribute instead.
885918
(Contributed by Nikita Sobolev in :gh:`105546`.)
886919

887-
* Remove undocumented, never working, and deprecated ``re.template`` function
888-
and ``re.TEMPLATE`` flag (and ``re.T`` alias).
889-
(Contributed by Serhiy Storchaka and Nikita Sobolev in :gh:`105687`.)
920+
Others
921+
------
922+
923+
* Remove the old trashcan macros ``Py_TRASHCAN_SAFE_BEGIN`` and
924+
``Py_TRASHCAN_SAFE_END``. They should be replaced by the new macros
925+
``Py_TRASHCAN_BEGIN`` and ``Py_TRASHCAN_END``. The new macros were
926+
added in Python 3.8 and the old macros were deprecated in Python 3.11.
927+
(Contributed by Irit Katriel in :gh:`105111`.)
890928

891929

892930
Porting to Python 3.13

0 commit comments

Comments
 (0)