This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients gvanrossum
Date 2016-01-06.22:55:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The globbing functionality in pathlib (Path.glob() and Path.rglob()) might benefit from using the new optimized os.scandir() interface. It currently just uses os.listdir(). The Path.iterdir() method might also benefit (though less so).

There's also a sideways connection with (adding an optional stat cache) -- the cache could possibly keep the DirEntry objects and use their (hopefully cached) attributes. This is more speculative though (and what if the platform's DirEntry doesn't cache?)
Date User Action Args
2016-01-06 22:55:27gvanrossumsetrecipients: + gvanrossum
2016-01-06 22:55:27gvanrossumsetmessageid: <>
2016-01-06 22:55:26gvanrossumlinkissue26032 messages
2016-01-06 22:55:26gvanrossumcreate