Message290072
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. |
|
Date |
User |
Action |
Args |
2017-03-24 00:58:30 | josh.r | set | recipients:
+ josh.r, paul.moore, tim.golden, zach.ware, steve.dower, Mohanson Leaf |
2017-03-24 00:58:30 | josh.r | set | messageid: <1490317110.15.0.277547049832.issue28041@psf.upfronthosting.co.za> |
2017-03-24 00:58:30 | josh.r | link | issue28041 messages |
2017-03-24 00:58:29 | josh.r | create | |
|