[Python-Dev] PEP 471 "scandir" accepted

Victor Stinner victor.stinner at gmail.com
Tue Jul 22 09:39:17 CEST 2014

Modify os.listdir() to use os.scandir() is not part of the PEP, you should
not do that. If you worry about performances, try to implement my free list

You may modify the C code of listdir() to share as much code as possible. I
mean you can implement your idea in C.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20140722/bcfa5dd1/attachment-0001.html>

More information about the Python-Dev mailing list