@@ -801,37 +801,80 @@ PEP 594: dead batteries
801
801
* :mod: `!xdrlib `.
802
802
(Contributed by Victor Stinner in :gh: `104773 `.)
803
803
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
+ ----
808
806
809
807
* Remove the ``2to3 `` program and the :mod: `!lib2to3 ` module,
810
808
deprecated in Python 3.11.
811
809
(Contributed by Victor Stinner in :gh: `104780 `.)
812
810
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
+ ------------
824
813
825
814
* Remove the undocumented :class: `!configparser.LegacyInterpolation ` class,
826
815
deprecated in the docstring since Python 3.2,
827
816
and with a deprecation warning since Python 3.11.
828
817
(Contributed by Hugo van Kemenade in :gh: `104886 `.)
829
818
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
+
830
859
* Remove the :meth: `!turtle.RawTurtle.settiltangle ` method,
831
860
deprecated in docs since Python 3.1
832
861
and with a deprecation warning since Python 3.11.
833
862
(Contributed by Hugo van Kemenade in :gh: `104876 `.)
834
863
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
+
835
878
* Removed the following :mod: `unittest ` functions, deprecated in Python 3.11:
836
879
837
880
* :func: `!unittest.findTestCases `
@@ -850,26 +893,8 @@ PEP 594: dead batteries
850
893
method, deprecated in Python 3.11.
851
894
(Contributed by Hugo van Kemenade in :gh: `104992 `.)
852
895
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
+ ------
873
898
874
899
* Remove *cafile *, *capath * and *cadefault * parameters of the
875
900
:func: `urllib.request.urlopen ` function, deprecated in Python 3.6: use the
@@ -879,14 +904,27 @@ PEP 594: dead batteries
879
904
certificates for you.
880
905
(Contributed by Victor Stinner in :gh: `105382 `.)
881
906
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
+
882
915
* Remove deprecated ``webbrowser.MacOSXOSAScript._name `` attribute.
883
916
Use :attr: `webbrowser.MacOSXOSAScript.name <webbrowser.controller.name> `
884
917
attribute instead.
885
918
(Contributed by Nikita Sobolev in :gh: `105546 `.)
886
919
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 `.)
890
928
891
929
892
930
Porting to Python 3.13
0 commit comments