STINNER Victor <victor.stin...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue13882> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com