Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

No, the bug is not fixed, and this is not easy issue. You should use 
non-integer Decimals to reproduce it. In 3.8 this emits a deprecation warning:

>>> import datetime
>>> from decimal import Decimal as D
>>> datetime.datetime.utcfromtimestamp(D(1425808327.307651))
<stdin>:1: DeprecationWarning: an integer is required (got type 
decimal.Decimal).  Implicit conversion to integers using __int__ is deprecated, 
and may be removed in a future version of Python.
datetime.datetime(2015, 3, 8, 9, 52, 7)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue23607>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to