This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author benhoyt
Recipients Trundle, abacabadabacaba, benhoyt, christian.heimes, eric.araujo, ethan.furman, giampaolo.rodola, gregory.p.smith, josh.r, loewis, nailor, ncoghlan, neologix, nvetoshkin, pitrou, rhettinger, socketpair, terry.reedy, tim.golden, torsten, twouters, vstinner
Date 2014-09-30.11:59:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412078369.87.0.419823313365.issue11406@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2014-09-30 11:59:29benhoytsetrecipients: + 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:29benhoytsetmessageid: <1412078369.87.0.419823313365.issue11406@psf.upfronthosting.co.za>
2014-09-30 11:59:29benhoytlinkissue11406 messages
2014-09-30 11:59:29benhoytcreate