[issue13882] PEP 410: Use decimal.Decimal type for timestamps
STINNER Victor
report at bugs.python.org
Thu Feb 9 00:52:58 CET 2012
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
Patch version 13:
- os.utime(path) sets the access and modification time using the currenet time with a subsecond resolution (e.g. microsecond resolution on Linux)
- os.*utime*() functions uses _PyTime_t type and functions
- add many functions to manipulate timeval, timespec and FILETIME types with _PyTime_t, add _PyTime_SetDenominator() function for that
- coding style: follow PEP 7 rules for braces
So more functions (including os.*utime*()) "accept" Decimal, but using an implicit conversion to float.
----------
Added file: http://bugs.python.org/file24461/time_decimal-13.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13882>
_______________________________________
More information about the Python-bugs-list
mailing list