Ben Hoyt added the comment:

Yes, PEP 471 has been accepted, and I've got a mostly-finished C implementation 
of os.scandir() for CPython 3.5, as well as tests and docs. If you want a sneak 
preview, see posixmodule_scandir*.c, test/test_scandir.py, and os.rst here: 
https://github.com/benhoyt/scandir

It's working well on Windows, but the Linux version has a couple of tiny issues 
yet (core dumps ;-).

Given that os.scandir() will solve this issue (as well as the bigger 
performance problem due to listdir throwing away file type info), can we close 
this issue and open another one to track the implementation of os.scandir() / 
PEP 471?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11406>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to