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 vstinner
Recipients Mohanson Leaf, josh.r, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2017-04-21.23:46:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1492818360.4.0.63072899385.issue28041@psf.upfronthosting.co.za>
In-reply-to
Content
scandir () is designed for effiency, not for portability or correctness. The API has deliberate limitations which are well documented, as the one you spotted:
https://docs.python.org/dev/library/os.html#os.DirEntry.stat

Your PR would defeat the whole purpose of scandir.
History
Date User Action Args
2017-04-21 23:46:00vstinnersetrecipients: + vstinner, paul.moore, tim.golden, zach.ware, steve.dower, josh.r, Mohanson Leaf
2017-04-21 23:46:00vstinnersetmessageid: <1492818360.4.0.63072899385.issue28041@psf.upfronthosting.co.za>
2017-04-21 23:46:00vstinnerlinkissue28041 messages
2017-04-21 23:46:00vstinnercreate