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 larry
Recipients Arfrever, eric.araujo, gregory.p.smith, gvanrossum, larry, loewis, maubp, ncoghlan, pitrou, python-dev, r.david.murray, rosslagerwall, shaurz, vstinner
Date 2012-04-24.22:15:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1335305716.76.0.581218793096.issue14127@psf.upfronthosting.co.za>
In-reply-to
Content
> futimens() has nice feature: it is possible to only update atime
> only update mtime, or use "now" as the new atime and/or mtime.

YAGNI.  Worst case, you can use call futimes twice, once with no args, then fstat() it to get the current-ish time and rewrite the fields selectively.

Do you have code where you selectively use UTIME_NOW for only one of the two fields?
History
Date User Action Args
2012-04-24 22:15:16larrysetrecipients: + larry, gvanrossum, loewis, gregory.p.smith, ncoghlan, pitrou, vstinner, eric.araujo, Arfrever, r.david.murray, maubp, shaurz, rosslagerwall, python-dev
2012-04-24 22:15:16larrysetmessageid: <1335305716.76.0.581218793096.issue14127@psf.upfronthosting.co.za>
2012-04-24 22:15:16larrylinkissue14127 messages
2012-04-24 22:15:16larrycreate