[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
- Previous message: [Python-Dev] My summary of the scandir (PEP 471)
- Next message: [Python-Dev] My summary of the scandir (PEP 471)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] My summary of the scandir (PEP 471)
- Next message: [Python-Dev] My summary of the scandir (PEP 471)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]