[Python-ideas] Speed up os.walk() 5x to 9x by using file attributes from FindFirst/NextFile() and readdir()
benhoyt at gmail.com
Mon Nov 12 21:58:49 CET 2012
> I'm not sure that I like "st is None or st.st_mode is None".
> You say that if a stat field is not available, it's None.
> That being the case, if no stat fields are available, couldn't their
> fields be None?
> That would lead to just "st.st_mode is None".
Ah, yes, that's a good idea. That would simplify still further.
More information about the Python-ideas