mirror of
https://github.com/python/cpython.git
synced 2025-09-25 01:43:11 +00:00
gh-111301: Advertise importlib methods removal in What's new in Python 3.12 (GH-111630)
This commit is contained in:
parent
0154405350
commit
f49752552e
1 changed files with 12 additions and 0 deletions
|
@ -1374,6 +1374,18 @@ APIs:
|
||||||
* :meth:`!unittest.TestProgram.usageExit` (:gh:`67048`)
|
* :meth:`!unittest.TestProgram.usageExit` (:gh:`67048`)
|
||||||
* :class:`!webbrowser.MacOSX` (:gh:`86421`)
|
* :class:`!webbrowser.MacOSX` (:gh:`86421`)
|
||||||
* :class:`classmethod` descriptor chaining (:gh:`89519`)
|
* :class:`classmethod` descriptor chaining (:gh:`89519`)
|
||||||
|
* :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>`_ (:gh:`106531`)
|
||||||
|
|
||||||
Pending Removal in Python 3.14
|
Pending Removal in Python 3.14
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue