[issue13964] os.utimensat() and os.futimes() should accept Decimal, drop os.futimens()

STINNER Victor report at bugs.python.org
Wed Feb 8 04:14:50 CET 2012


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

> New changeset 478fb4869c99 by Victor Stinner in branch 'default':
> Issue #13964: Split os.*utime*() subsecond tests into multiple tests...

Oops, I also commited my change on extract_time() by mistake. But it is not completly a mistake: it was the goal of my patch serie :-)

This commit changes two things on extract_time().

 - always use nanoseconds: if we need microseconds, divide by 1000
 - use (long)(fmod()*1e9) to get nanoseconds instead of the previous code, I'm not sure that this change is correct

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13964>
_______________________________________


More information about the Python-bugs-list mailing list