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