diff options
author | Karolina Surma <33810531+befeleme@users.noreply.github.com> | 2023-10-31 06:46:20 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-31 06:46:20 (GMT) |
commit | 3dbaed3caa00062087a848740b6e713ad55b0aed (patch) | |
tree | 61333e77bd9377acca25281b2820b3e97b96acc4 | |
parent | 997683435693876e687cf09d3553abde18787d2e (diff) | |
download | cpython-3dbaed3caa00062087a848740b6e713ad55b0aed.zip cpython-3dbaed3caa00062087a848740b6e713ad55b0aed.tar.gz cpython-3dbaed3caa00062087a848740b6e713ad55b0aed.tar.bz2 |
gh-111301: Move importlib.resources changes to the Removed section (#111509)
-rw-r--r-- | Doc/whatsnew/3.13.rst | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst index eaa9ab5..3a2df4f 100644 --- a/Doc/whatsnew/3.13.rst +++ b/Doc/whatsnew/3.13.rst @@ -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 ------ |