Calling `glob.glob(pattern, recursive=True)`, where *pattern* contains two or more `**/` segments, can yield the same paths multiple times: ```python >>> import glob >>> len(glob.glob('**/**', recursive=True)) 314206 >>> len(set(glob.glob('**/**', recursive=True))) 44849 ``` <!-- gh-linked-prs --> ### Linked PRs * gh-105406 * gh-117757 <!-- /gh-linked-prs -->
Calling
glob.glob(pattern, recursive=True), where pattern contains two or more**/segments, can yield the same paths multiple times:Linked PRs
glob.globduplicates when using multiple**patterns #105406glob.globduplicates when using multiple**patterns (GH-105406) #117757