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 josh.r
Recipients Mohanson Leaf, josh.r, paul.moore, steve.dower, tim.golden, zach.ware
Date 2017-03-24.00:58:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1490317110.15.0.277547049832.issue28041@psf.upfronthosting.co.za>
In-reply-to
Content
This is documented behavior. Per the docs for os.DirEntry's stat method (the objects yielded by os.scandir):

>On Windows, the st_ino, st_dev and st_nlink attributes of the stat_result are always set to zero. Call os.stat() to get these attributes.

It might be nice if those values could be cached on read (through a lazily initialized value on property access or the like), but this is not a bug, it's working as documented.
History
Date User Action Args
2017-03-24 00:58:30josh.rsetrecipients: + josh.r, paul.moore, tim.golden, zach.ware, steve.dower, Mohanson Leaf
2017-03-24 00:58:30josh.rsetmessageid: <1490317110.15.0.277547049832.issue28041@psf.upfronthosting.co.za>
2017-03-24 00:58:30josh.rlinkissue28041 messages
2017-03-24 00:58:29josh.rcreate