]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-111301: Move importlib.resources changes to the Removed section (#111509)
authorKarolina Surma <33810531+befeleme@users.noreply.github.com>
Tue, 31 Oct 2023 06:46:20 +0000 (07:46 +0100)
committerGitHub <noreply@github.com>
Tue, 31 Oct 2023 06:46:20 +0000 (06:46 +0000)
Doc/whatsnew/3.13.rst

index eaa9ab5a04c88c9424e8f294fa0e31b579875c8b..3a2df4fc8a3de5515f40ee0e69cf14c2dcb345bb 100644 (file)
@@ -604,20 +604,6 @@ although there is currently no date scheduled for their removal.
   * ``EntryPoints`` tuple interface.
   * Implicit ``None`` on return values.
 
-* :mod:`importlib.resources` deprecated methods:
-
-  * ``contents()``
-  * ``is_resource()``
-  * ``open_binary()``
-  * ``open_text()``
-  * ``path()``
-  * ``read_binary()``
-  * ``read_text()``
-
-  Use ``files()`` instead.  Refer to `importlib-resources: Migrating from Legacy
-  <https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy>`_
-  for migration advice.
-
 * :mod:`mailbox`: Use of StringIO input and text mode is deprecated, use
   BytesIO and binary mode instead.
 
@@ -830,6 +816,24 @@ configparser
   and with a deprecation warning since Python 3.11.
   (Contributed by Hugo van Kemenade in :gh:`104886`.)
 
+importlib
+---------
+
+* Remove :mod:`importlib.resources` deprecated methods:
+
+  * ``contents()``
+  * ``is_resource()``
+  * ``open_binary()``
+  * ``open_text()``
+  * ``path()``
+  * ``read_binary()``
+  * ``read_text()``
+
+  Use :func:`importlib.resources.files()` instead.  Refer to `importlib-resources: Migrating from Legacy
+  <https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy>`_
+  for migration advice.
+  (Contributed by Jason R. Coombs in :gh:`106532`.)
+
 locale
 ------