[New-bugs-announce] [issue33296] datetime.datetime.utcfromtimestamp call decimal causes precision loss

Shlomo Anglister report at bugs.python.org
Tue Apr 17 05:16:46 EDT 2018


New submission from Shlomo Anglister <shlomo.anglister at gmail.com>:

Output for python2.7.11

2018-04-12-05:23:08.436252
2018-04-12-05:23:08.436252

Output for python3.4 and python3.6

2018-04-12-05:23:08.436252
2018-04-12-05:23:08.000000

----------
components: Library (Lib)
files: timestamp_decimal_test.py
messages: 315385
nosy: anglister
priority: normal
severity: normal
status: open
title: datetime.datetime.utcfromtimestamp call decimal causes precision loss
type: behavior
versions: Python 3.4, Python 3.5, Python 3.6
Added file: https://bugs.python.org/file47538/timestamp_decimal_test.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33296>
_______________________________________


More information about the New-bugs-announce mailing list