@@ -817,33 +817,80 @@ PEP 594: dead batteries
817
817
:class: `typing.TypedDict ` types, deprecated in Python 3.11.
818
818
(Contributed by Tomas Roun in :gh: `104786 `.)
819
819
820
+ 2to3
821
+ ----
820
822
821
823
* Remove the ``2to3 `` program and the :mod: `!lib2to3 ` module,
822
824
deprecated in Python 3.11.
823
825
(Contributed by Victor Stinner in :gh: `104780 `.)
824
826
825
- * Namespaces ``typing.io `` and ``typing.re ``, deprecated in Python 3.8,
826
- are now removed. The items in those namespaces can be imported directly
827
- from :mod: `typing `. (Contributed by Sebastian Rittau in :gh: `92871 `.)
828
-
829
- * Remove the untested and undocumented :mod: `webbrowser ` :class: `!MacOSX ` class,
830
- deprecated in Python 3.11.
831
- Use the :class: `!MacOSXOSAScript ` class (introduced in Python 3.2) instead.
832
- (Contributed by Hugo van Kemenade in :gh: `104804 `.)
833
-
834
- * Remove support for using :class: `pathlib.Path ` objects as context managers.
835
- This functionality was deprecated and made a no-op in Python 3.9.
827
+ configparser
828
+ ------------
836
829
837
830
* Remove the undocumented :class: `!configparser.LegacyInterpolation ` class,
838
831
deprecated in the docstring since Python 3.2,
839
832
and with a deprecation warning since Python 3.11.
840
833
(Contributed by Hugo van Kemenade in :gh: `104886 `.)
841
834
835
+ locale
836
+ ------
837
+
838
+ * Remove ``locale.resetlocale() `` function deprecated in Python 3.11:
839
+ use ``locale.setlocale(locale.LC_ALL, "") `` instead.
840
+ (Contributed by Victor Stinner in :gh: `104783 `.)
841
+
842
+ logging
843
+ -------
844
+
845
+ * :mod: `logging `: Remove undocumented and untested ``Logger.warn() `` and
846
+ ``LoggerAdapter.warn() `` methods and ``logging.warn() `` function. Deprecated
847
+ since Python 3.3, they were aliases to the :meth: `logging.Logger.warning `
848
+ method, :meth: `!logging.LoggerAdapter.warning ` method and
849
+ :func: `logging.warning ` function.
850
+ (Contributed by Victor Stinner in :gh: `105376 `.)
851
+
852
+ pathlib
853
+ -------
854
+
855
+ * Remove support for using :class: `pathlib.Path ` objects as context managers.
856
+ This functionality was deprecated and made a no-op in Python 3.9.
857
+
858
+ re
859
+ --
860
+
861
+ * Remove undocumented, never working, and deprecated ``re.template `` function
862
+ and ``re.TEMPLATE `` flag (and ``re.T `` alias).
863
+ (Contributed by Serhiy Storchaka and Nikita Sobolev in :gh: `105687 `.)
864
+
865
+ tkinter
866
+ -------
867
+
868
+ * Remove the :mod: `!tkinter.tix ` module, deprecated in Python 3.6. The
869
+ third-party Tix library which the module wrapped is unmaintained.
870
+ (Contributed by Zachary Ware in :gh: `75552 `.)
871
+
872
+ turtle
873
+ ------
874
+
842
875
* Remove the :meth: `!turtle.RawTurtle.settiltangle ` method,
843
876
deprecated in docs since Python 3.1
844
877
and with a deprecation warning since Python 3.11.
845
878
(Contributed by Hugo van Kemenade in :gh: `104876 `.)
846
879
880
+ typing
881
+ ------
882
+
883
+ * Namespaces ``typing.io `` and ``typing.re ``, deprecated in Python 3.8,
884
+ are now removed. The items in those namespaces can be imported directly
885
+ from :mod: `typing `. (Contributed by Sebastian Rittau in :gh: `92871 `.)
886
+
887
+ * Remove support for the keyword-argument method of creating
888
+ :class: `typing.TypedDict ` types, deprecated in Python 3.11.
889
+ (Contributed by Tomas Roun in :gh: `104786 `.)
890
+
891
+ unittest
892
+ --------
893
+
847
894
* Removed the following :mod: `unittest ` functions, deprecated in Python 3.11:
848
895
849
896
* :func: `!unittest.findTestCases `
@@ -862,26 +909,8 @@ PEP 594: dead batteries
862
909
method, deprecated in Python 3.11.
863
910
(Contributed by Hugo van Kemenade in :gh: `104992 `.)
864
911
865
- * Remove the :mod: `!tkinter.tix ` module, deprecated in Python 3.6. The
866
- third-party Tix library which the module wrapped is unmaintained.
867
- (Contributed by Zachary Ware in :gh: `75552 `.)
868
-
869
- * Remove the old trashcan macros ``Py_TRASHCAN_SAFE_BEGIN `` and
870
- ``Py_TRASHCAN_SAFE_END ``. They should be replaced by the new macros
871
- ``Py_TRASHCAN_BEGIN `` and ``Py_TRASHCAN_END ``. The new macros were
872
- added in Python 3.8 and the old macros were deprecated in Python 3.11.
873
- (Contributed by Irit Katriel in :gh: `105111 `.)
874
-
875
- * Remove ``locale.resetlocale() `` function deprecated in Python 3.11:
876
- use ``locale.setlocale(locale.LC_ALL, "") `` instead.
877
- (Contributed by Victor Stinner in :gh: `104783 `.)
878
-
879
- * :mod: `logging `: Remove undocumented and untested ``Logger.warn() `` and
880
- ``LoggerAdapter.warn() `` methods and ``logging.warn() `` function. Deprecated
881
- since Python 3.3, they were aliases to the :meth: `logging.Logger.warning `
882
- method, :meth: `!logging.LoggerAdapter.warning ` method and
883
- :func: `logging.warning ` function.
884
- (Contributed by Victor Stinner in :gh: `105376 `.)
912
+ urllib
913
+ ------
885
914
886
915
* Remove *cafile *, *capath * and *cadefault * parameters of the
887
916
:func: `urllib.request.urlopen ` function, deprecated in Python 3.6: use the
@@ -891,14 +920,27 @@ PEP 594: dead batteries
891
920
certificates for you.
892
921
(Contributed by Victor Stinner in :gh: `105382 `.)
893
922
923
+ webbrowser
924
+ ----------
925
+
926
+ * Remove the untested and undocumented :mod: `webbrowser ` :class: `!MacOSX ` class,
927
+ deprecated in Python 3.11.
928
+ Use the :class: `!MacOSXOSAScript ` class (introduced in Python 3.2) instead.
929
+ (Contributed by Hugo van Kemenade in :gh: `104804 `.)
930
+
894
931
* Remove deprecated ``webbrowser.MacOSXOSAScript._name `` attribute.
895
932
Use :attr: `webbrowser.MacOSXOSAScript.name <webbrowser.controller.name> `
896
933
attribute instead.
897
934
(Contributed by Nikita Sobolev in :gh: `105546 `.)
898
935
899
- * Remove undocumented, never working, and deprecated ``re.template `` function
900
- and ``re.TEMPLATE `` flag (and ``re.T `` alias).
901
- (Contributed by Serhiy Storchaka and Nikita Sobolev in :gh: `105687 `.)
936
+ Others
937
+ ------
938
+
939
+ * Remove the old trashcan macros ``Py_TRASHCAN_SAFE_BEGIN `` and
940
+ ``Py_TRASHCAN_SAFE_END ``. They should be replaced by the new macros
941
+ ``Py_TRASHCAN_BEGIN `` and ``Py_TRASHCAN_END ``. The new macros were
942
+ added in Python 3.8 and the old macros were deprecated in Python 3.11.
943
+ (Contributed by Irit Katriel in :gh: `105111 `.)
902
944
903
945
904
946
Porting to Python 3.13
0 commit comments