Message137900
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. |
|
Date |
User |
Action |
Args |
2011-06-08 11:46:44 | pitrou | set | recipients:
+ pitrou, Arfrever, r.david.murray, rosslagerwall |
2011-06-08 11:46:44 | pitrou | set | messageid: <1307533604.71.0.565357992971.issue11941@psf.upfronthosting.co.za> |
2011-06-08 11:46:43 | pitrou | link | issue11941 messages |
2011-06-08 11:46:43 | pitrou | create | |
|