[Python-Dev] PEP 471 -- os.scandir() function -- a better and faster directory iterator
Ethan Furman
ethan at stoneleaf.us
Tue Jul 1 03:44:57 CEST 2014
More information about the Python-Dev mailing list
Tue Jul 1 03:44:57 CEST 2014
- Previous message: [Python-Dev] PEP 471 -- os.scandir() function -- a better and faster directory iterator
- Next message: [Python-Dev] PEP 471 -- os.scandir() function -- a better and faster directory iterator
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 06/30/2014 06:28 PM, Ben Hoyt wrote: >> I suppose the exact behavior is still under discussion, as there are only >> two or three fields one gets "for free" on Windows (I think...), where as an >> os.stat call would get everything available for the platform. > > No, Windows is nice enough to give you all the same stat_result fields > during scandir (via FindFirstFile/FindNextFile) as a regular > os.stat(). Very nice. Even less reason then to throw it away. :) -- ~Ethan~
- Previous message: [Python-Dev] PEP 471 -- os.scandir() function -- a better and faster directory iterator
- Next message: [Python-Dev] PEP 471 -- os.scandir() function -- a better and faster directory iterator
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list