[issue23607] Inconsistency in datetime.utcfromtimestamp(Decimal)

Serhiy Storchaka report at bugs.python.org
Mon Mar 30 12:04:41 CEST 2015


Serhiy Storchaka added the comment:

Here is a patch that adds Decimal support for datetime.fromtimestamp() and datetime.utcfromtimestamp(). As side effect Decimal timestamps now are supported in few other places, e.g. in os.utime().

----------
nosy: +haypo
stage: needs patch -> patch review
Added file: http://bugs.python.org/file38736/datetime_fromtimestamp_decimal.patch

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


More information about the Python-bugs-list mailing list