[Python-ideas] Speed up os.walk() 5x to 9x by using file attributes from FindFirst/NextFile() and readdir()

Ben Hoyt benhoyt at gmail.com
Fri Nov 16 02:15:33 CET 2012

> Better would be 'on Posix systems, if st_mode is not None only the type bits
> are valid.' Assuming that the underlying code translates DT_UNKNOWN to
> binding st_mode to None.

Yep, fair enough -- I'll update it.


More information about the Python-ideas mailing list