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

* 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]