[issue14127] os.stat and os.utime: allow preserving exact metadata
Antoine Pitrou
report at bugs.python.org
Sun Feb 26 17:05:35 CET 2012
Antoine Pitrou <pitrou at free.fr> added the comment:
How about a separate float attribute for the fractional part (in seconds)? This gives a femtosecond precision (assuming a 50 bits mantissa). The utime() could accept a (integral part, fractional part) tuple to set a timestamp without losing bits.
(PHP does something similar, but badly, with its microtime() function:
http://www.php.net/manual/en/function.microtime.php)
----------
nosy: +pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14127>
_______________________________________
More information about the Python-bugs-list
mailing list