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 Arfrever
Recipients Arfrever, gvanrossum, larry, loewis, pitrou, r.david.murray, rosslagerwall, vstinner
Date 2012-03-04.00:52:28
SpamBayes Score 0.003466682
Marked as misclassified No
Message-id <1330822349.41.0.820668664025.issue14127@psf.upfronthosting.co.za>
In-reply-to
Content
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")
History
Date User Action Args
2012-03-04 00:52:29Arfreversetrecipients: + Arfrever, gvanrossum, loewis, pitrou, vstinner, larry, r.david.murray, rosslagerwall
2012-03-04 00:52:29Arfreversetmessageid: <1330822349.41.0.820668664025.issue14127@psf.upfronthosting.co.za>
2012-03-04 00:52:28Arfreverlinkissue14127 messages
2012-03-04 00:52:28Arfrevercreate