Message219297
Sunny, is there a definition of "visible positional fields"? Currently,
it seems to me that in os.stat_result we have the opposite problem, namely
"visible non-positional" fields:
For example, st_atime_ns is visible but not indexable:
os.stat_result(st_mode=33188, st_ino=524840, st_dev=64513, st_nlink=1, st_uid=0, st_gid=0, st_size=2113, st_atime=1401225421, st_mtime=1398786163, st_ctime=1398786163)
>>> x[9]
1398786163
>>> x.st_atime_ns
1401225421887116783
>>> x[10]
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
IndexError: tuple index out of range |
|
Date |
User |
Action |
Args |
2014-05-28 20:36:09 | skrah | set | recipients:
+ skrah, lemburg, georg.brandl, rhettinger, terry.reedy, amaury.forgeotdarc, gjb1002, belopolsky, salty-horse, vstinner, jackdied, eric.smith, giampaolo.rodola, christian.heimes, benjamin.peterson, adlaiff6, eric.araujo, Arfrever, santoso.wijaya, ethan.furman, eric.snow, sunfinite, abarnert |
2014-05-28 20:36:09 | skrah | set | messageid: <1401309369.15.0.104676211607.issue1820@psf.upfronthosting.co.za> |
2014-05-28 20:36:09 | skrah | link | issue1820 messages |
2014-05-28 20:36:08 | skrah | create | |
|