On 2014-06-26 23:59, Ben Hoyt wrote: > Hi Python dev folks, > > I've written a PEP proposing a specific os.scandir() API for a > directory iterator that returns the stat-like info from the OS, the > main advantage of which is to speed up os.walk() and similar > operations between 4-20x, depending on your OS and file system. Full > details, background info, and context links are in the PEP, which > Victor Stinner has uploaded at the following URL, and I've also > copied inline below. > > http://legacy.python.org/dev/peps/pep-0471/ > > Would love feedback on the PEP, but also of course on the proposal > itself. > [snip] Personally, I'd prefer the name 'iterdir' because it emphasises that it's an iterator.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4