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 skrah
Recipients Arfrever, abarnert, adlaiff6, amaury.forgeotdarc, belopolsky, benjamin.peterson, christian.heimes, eric.araujo, eric.smith, eric.snow, ethan.furman, georg.brandl, giampaolo.rodola, gjb1002, jackdied, lemburg, rhettinger, salty-horse, santoso.wijaya, skrah, sunfinite, terry.reedy, vstinner
Date 2014-05-28.20:36:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1401309369.15.0.104676211607.issue1820@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2014-05-28 20:36:09skrahsetrecipients: + 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:09skrahsetmessageid: <1401309369.15.0.104676211607.issue1820@psf.upfronthosting.co.za>
2014-05-28 20:36:09skrahlinkissue1820 messages
2014-05-28 20:36:08skrahcreate