[issue13882] PEP 410: Use decimal.Decimal type for timestamps
STINNER Victor
report at bugs.python.org
Fri Feb 17 02:17:27 CET 2012
STINNER Victor <victor.stinner at gmail.com> added the comment:
Patch version 18:
- Fix a loss of precision in _PyTime_SetDenominator()
- Add more tests on integer overflow
I also updated the patch adding datetime.datetime support because some people are interested by the type, even I don't think that it is interesting to add it. datetime.datetime is only usable with time.time(), os.*stat() and time.clock_gettime(), whereas it is incompatible with all other functions.
----------
Added file: http://bugs.python.org/file24538/time_decimal-18.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13882>
_______________________________________
More information about the Python-bugs-list
mailing list