Skip to content

Commit 3dbaed3

Browse files
authored
gh-111301: Move importlib.resources changes to the Removed section (#111509)
1 parent 9976834 commit 3dbaed3

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

Doc/whatsnew/3.13.rst

+18-14
Original file line numberDiff line numberDiff line change
@@ -604,20 +604,6 @@ although there is currently no date scheduled for their removal.
604604
* ``EntryPoints`` tuple interface.
605605
* Implicit ``None`` on return values.
606606

607-
* :mod:`importlib.resources` deprecated methods:
608-
609-
* ``contents()``
610-
* ``is_resource()``
611-
* ``open_binary()``
612-
* ``open_text()``
613-
* ``path()``
614-
* ``read_binary()``
615-
* ``read_text()``
616-
617-
Use ``files()`` instead. Refer to `importlib-resources: Migrating from Legacy
618-
<https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy>`_
619-
for migration advice.
620-
621607
* :mod:`mailbox`: Use of StringIO input and text mode is deprecated, use
622608
BytesIO and binary mode instead.
623609

@@ -830,6 +816,24 @@ configparser
830816
and with a deprecation warning since Python 3.11.
831817
(Contributed by Hugo van Kemenade in :gh:`104886`.)
832818

819+
importlib
820+
---------
821+
822+
* Remove :mod:`importlib.resources` deprecated methods:
823+
824+
* ``contents()``
825+
* ``is_resource()``
826+
* ``open_binary()``
827+
* ``open_text()``
828+
* ``path()``
829+
* ``read_binary()``
830+
* ``read_text()``
831+
832+
Use :func:`importlib.resources.files()` instead. Refer to `importlib-resources: Migrating from Legacy
833+
<https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy>`_
834+
for migration advice.
835+
(Contributed by Jason R. Coombs in :gh:`106532`.)
836+
833837
locale
834838
------
835839

0 commit comments

Comments
 (0)