]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45514: Deprecate importlib resources legacy functions. (GH-29036)
authorJason R. Coombs <jaraco@jaraco.com>
Wed, 24 Nov 2021 07:51:37 +0000 (02:51 -0500)
committerGitHub <noreply@github.com>
Wed, 24 Nov 2021 07:51:37 +0000 (02:51 -0500)
commitd5cd2effa69551c6bc7edfef8a414d545dea9117
tree038c3dfa9d1ddb4baf1d1b326c5c308866de2b63
parent324527012fa1078428a6207918640cf860e28c81
bpo-45514: Deprecate importlib resources legacy functions. (GH-29036)

* bpo-45514: Apply changes from importlib_resources@a3ef4128c6

* Mark legacy functions as deprecated in the docs and link to the migration docs in importlib_resources docs.

* Apply changes from importlib_resources@329ae9d5f2c.

* Indicate importlib.resources as a module.

Co-authored-by: Filipe LaĆ­ns <lains@riseup.net>
Doc/library/importlib.rst
Lib/importlib/_itertools.py
Lib/importlib/_legacy.py
Lib/test/test_importlib/resources/util.py
Lib/test/test_importlib/test_contents.py
Lib/test/test_importlib/test_open.py
Lib/test/test_importlib/test_path.py
Lib/test/test_importlib/test_read.py
Lib/test/test_importlib/test_resource.py
Misc/NEWS.d/next/Library/2021-10-18-14-25-35.bpo-45514.YmlzIl.rst [new file with mode: 0644]