[Python-Dev] PEP 471 -- os.scandir() function -- a better and faster directory iterator

Jonas Wielicki j.wielicki at sotecware.net
Sun Jun 29 23:04:09 CEST 2014


On 29.06.2014 19:04, Ethan Furman wrote:
> On 06/29/2014 04:12 AM, Jonas Wielicki wrote:
>>
>> If the flag is set to False, all the fields in the DirEntry will be
>> None, for consistency, even on Windows.
> 
> -1
>
> This consistency is unnecessary.

I’m not sure -- similar to the windows_wildcard option this might be a
temptation to write platform dependent code, although possibly by
accident (i.e. not reading the docs carefully).

> 
> -- 
> ~Ethan~
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe:
> https://mail.python.org/mailman/options/python-dev/j.wielicki%40sotecware.net
> 



More information about the Python-Dev mailing list