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 pitrou
Recipients Arfrever, pitrou, r.david.murray, rosslagerwall
Date 2011-06-08.11:46:43
SpamBayes Score 1.0991342e-06
Marked as misclassified No
Message-id <1307533604.71.0.565357992971.issue11941@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not sure if that's deliberate, but the new attributes don't appear in the result repr():

>>> s = os.stat("LICENSE")
>>> s
posix.stat_result(st_mode=33204, st_ino=524885, st_dev=2053, st_nlink=1, st_uid=500, st_gid=500, st_size=14597, st_atime=1307474138, st_mtime=1299630588, st_ctime=1299630588)
>>> s.st_mtim
(1299630588, 90781883)

In the docs, you also need a "versionchanged" tag to mention that the attributes were added in 3.3.

The patch fails to compile under Windows: MSVC forbids variable declarations after code (atim, ctim, mtim), you have to put them at the beginning of a block. Once this is fixed, it seems to work ok.
History
Date User Action Args
2011-06-08 11:46:44pitrousetrecipients: + pitrou, Arfrever, r.david.murray, rosslagerwall
2011-06-08 11:46:44pitrousetmessageid: <1307533604.71.0.565357992971.issue11941@psf.upfronthosting.co.za>
2011-06-08 11:46:43pitroulinkissue11941 messages
2011-06-08 11:46:43pitroucreate