[issue14127] add st_*time_ns fields to os.stat(), add ns keyword to os.*utime*(), os.*utimens*() expects a number of nanoseconds
STINNER Victor
report at bugs.python.org
Wed Apr 25 00:10:17 CEST 2012
STINNER Victor <victor.stinner at gmail.com> added the comment:
> I removed futimens because it's now extraneous.
futimens() has nice feature: it is possible to only update atime only update mtime, or use "now" as the new atime and/or mtime.
3882 If *_nsec is specified as UTIME_NOW, the timestamp is updated to the\n\
3883 current time.\n\
3884 If *_nsec is specified as UTIME_OMIT, the timestamp is not updated.
os.utimensat() has the same feature. Is it possible that os.utimensat() is not available whereas os.futimens() is availalble?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14127>
_______________________________________
More information about the Python-bugs-list
mailing list