[Python-Dev] PEP 471 -- os.scandir() function -- a better and faster directory iterator
Terry Reedy
tjreedy at udel.edu
Tue Jul 1 06:35:24 CEST 2014
More information about the Python-Dev mailing list
Tue Jul 1 06:35:24 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 6/30/2014 9:44 PM, Ethan Furman wrote: > 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. :) I agree. -- Terry Jan Reedy
- 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