]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-116811: Ensure MetadataPathFinder.invalidate_caches is reachable when deleg...
authorJason R. Coombs <jaraco@jaraco.com>
Fri, 15 Mar 2024 13:59:28 +0000 (09:59 -0400)
committerGitHub <noreply@github.com>
Fri, 15 Mar 2024 13:59:28 +0000 (09:59 -0400)
commit8336cb2b6f428246803b02a4e97fce49d0bb1e09
tree2c5ff62912a690bc1be9a54401cf15645878541a
parentabd079806d5f676410fbeaf1a7980f75f85833f7
[3.12] gh-116811: Ensure MetadataPathFinder.invalidate_caches is reachable when delegated through PathFinder. (GH-116812) (#116864)

* Make MetadataPathFinder a proper classmethod.

* In PathFinder.invalidate_caches, also invoke MetadataPathFinder.invalidate_caches.

* Add blurb
(cherry picked from commit 5f52d20a93908196f74271db8437cc1ba7e1e262)
Lib/importlib/_bootstrap_external.py
Lib/importlib/metadata/__init__.py
Misc/NEWS.d/next/Library/2024-03-14-10-01-23.gh-issue-116811._h5iKP.rst [new file with mode: 0644]