Message227882
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? |
|
Date |
User |
Action |
Args |
2014-09-30 11:59:29 | benhoyt | set | recipients:
+ benhoyt, loewis, twouters, rhettinger, terry.reedy, gregory.p.smith, ncoghlan, pitrou, vstinner, giampaolo.rodola, christian.heimes, tim.golden, eric.araujo, Trundle, torsten, nvetoshkin, neologix, abacabadabacaba, ethan.furman, nailor, socketpair, josh.r |
2014-09-30 11:59:29 | benhoyt | set | messageid: <1412078369.87.0.419823313365.issue11406@psf.upfronthosting.co.za> |
2014-09-30 11:59:29 | benhoyt | link | issue11406 messages |
2014-09-30 11:59:29 | benhoyt | create | |
|