Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
a1d873b
Commit importlib.metadata as found at https://gitlab.com/python-devs/…
jaraco Mar 26, 2019
6d7e3a8
Update implementation based on importlib_metadata 0.10
jaraco May 8, 2019
dc500dd
Merge fixes to docs syntax
jaraco May 8, 2019
f0cad2b
Rename doc to appear under the correct name
jaraco May 8, 2019
a630dfa
Add reference to importlib.metadata
jaraco May 8, 2019
9bde7fa
Update with latest changes from importlib_metadata
jaraco May 8, 2019
175603f
Merge branch 'master' into feature/34632-importlib-metadata
jaraco May 8, 2019
2347d3a
Merge remote-tracking branch 'origin/master' into feature/34632-impor…
jaraco May 8, 2019
6816cc0
Add ignores to suspicious check
jaraco May 8, 2019
071cbd4
Update with latest changes from importlib_metadata
jaraco May 8, 2019
21eaaf4
Apply changes from importlib_metadata 0.11
jaraco May 10, 2019
a277d85
Merge branch 'master' into feature/34632-importlib-metadata
jaraco May 10, 2019
58533a7
Refresh from importlib_metadata@cpython
jaraco May 10, 2019
3b19b9d
Inline the find_distributions functionality on PathFinder.
jaraco May 10, 2019
6e5cc29
Disable all the doctests
jaraco May 11, 2019
8f04bf5
📜🤖 Added by blurb_it.
blurb-it[bot] May 11, 2019
7f9924a
make regen-all
jaraco May 11, 2019
34142cd
Apply changes from importlib_metadata 0.12.
jaraco May 14, 2019
569e1ac
Make regen-all
jaraco May 14, 2019
2a6b361
Add provisional disclaimer
jaraco May 14, 2019
b462010
Refresh from importlib_metadata@cpython
jaraco May 14, 2019
c2bf9a5
Refresh from importlib_metadata@cpython
jaraco May 14, 2019
dcb580f
Add missing file
jaraco May 14, 2019
1b52d5b
Apply changes from importlib_metadata
jaraco May 18, 2019
de0f89d
Apply changes from importlib_metadata refresh.
jaraco May 18, 2019
a1c3d9c
Merge branch 'master' into feature/34632-importlib-metadata
jaraco May 24, 2019
ccbccce
Refresh from importlib_metadata@cpython (0.15)
jaraco May 24, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply changes from importlib_metadata refresh.
  • Loading branch information
jaraco committed May 18, 2019
commit de0f89dcaf956a7198a138dbbff758a5cd3ee27a
11 changes: 6 additions & 5 deletions Lib/importlib/_bootstrap_external.py
Original file line number Diff line number Diff line change
Expand Up @@ -1363,8 +1363,11 @@ def find_module(cls, fullname, path=None):

@classmethod
def find_distributions(cls, name=None, path=None):
"""Return an iterable of all Distribution instances capable of
loading the metadata for packages matching the name
"""
Find distributions.

Return an iterable of all Distribution instances capable of
loading the metadata for packages matching the ``name``
(or all names if not supplied) along the paths in the list
of directories ``path`` (defaults to sys.path).
"""
Expand All @@ -1378,9 +1381,7 @@ def find_distributions(cls, name=None, path=None):

@classmethod
def _search_paths(cls, pattern, paths):
"""
Find metadata directories in paths heuristically.
"""
"""Find metadata directories in paths heuristically."""
import itertools
return itertools.chain.from_iterable(
cls._search_path(path, pattern)
Expand Down
Loading