[Python-Dev] My summary of the scandir (PEP 471) (original) (raw)

Ethan Furman ethan at stoneleaf.us
Tue Jul 1 17:34:20 CEST 2014


On 07/01/2014 07:59 AM, Jonas Wielicki wrote:

I had the idea to treat a failing lstat() inside scandir() as if the entry wasn’t found at all, but in this context, this seems wrong too.

Well, os.walk supports passing in an error handler -- perhaps scandir should as well.

-- Ethan



More information about the Python-Dev mailing list