It should be possible to speed up `glob.glob()` using a few strategies developed in pathlib. <!-- gh-linked-prs --> ### Linked PRs * gh-116392 * gh-117305 * gh-117737 * gh-117738 * gh-118562 * gh-118678 * gh-120011 * gh-130710 * gh-130743 * gh-137474 <!-- /gh-linked-prs -->
It should be possible to speed up
glob.glob()using a few strategies developed in pathlib.Linked PRs
glob.glob()by removing some system calls #116392glob.glob0()andglob.glob1(). #117305dir_fdargument inglob._Globber. #117737include_hiddenargument inglob._Globber. #117738pathlib._glob#118562pathlib._glob#118678globtopathlib._abc. #120011test_iglob_iter_closetest #130710glob.[i]glob()by making fewer system calls. (#116392)" #130743glob.[i]glob()by making fewer system calls (take 2) #137474