[Python-Dev] Issue 11406: adding os.scandir(), a directory iterator returning stat-like info

Ben Hoyt benhoyt at gmail.com
Tue May 14 11:08:27 CEST 2013


>> large to be more "real world". I've just tested it, and in practice
>> file system doesn't make much difference, so I've fixed that now:
>
> Thanks. I had bumped the number of files, thinking it would make things
> more interesting, and it filled my disk.

Denial of Pitrou attack -- sorry! :-) Anyway, it shouldn't fill your
disk now. Though it still does use more on-disk space than 3 bytes per
file on most FSs, depending on the smallest block size.

-Ben


More information about the Python-Dev mailing list