Message154873
The following solution might be compatible with Guido's suggestion:
os.stat(path).st_atime_ns -> nanoseconds_since_epoch_as_int
os.stat(path).st_ctime_ns -> nanoseconds_since_epoch_as_int
os.stat(path).st_mtime_ns -> nanoseconds_since_epoch_as_int
atime = os.stat(path).st_atime_ns
mtime = os.stat(path).st_mtime_ns
os.utime(path, (atime, mtime), resolution="ns") |
|
Date |
User |
Action |
Args |
2012-03-04 00:52:29 | Arfrever | set | recipients:
+ Arfrever, gvanrossum, loewis, pitrou, vstinner, larry, r.david.murray, rosslagerwall |
2012-03-04 00:52:29 | Arfrever | set | messageid: <1330822349.41.0.820668664025.issue14127@psf.upfronthosting.co.za> |
2012-03-04 00:52:28 | Arfrever | link | issue14127 messages |
2012-03-04 00:52:28 | Arfrever | create | |
|