[PyPy-issue] [issue548] Timestamps are rounded differently in pypy and cpython

Alexander Belopolsky pypy-dev-issue at codespeak.net
Thu Jun 24 20:24:09 CEST 2010


New submission from Alexander Belopolsky <belopolsky at mac.com>:

In pypy:

>>> datetime.utcfromtimestamp(0.9999994)
datetime.datetime(1970, 1, 1, 0, 0, 1)

In cpython:

>>> datetime.utcfromtimestamp(0.9999994)
datetime.datetime(1970, 1, 1, 0, 0, 0, 999999)

See also: http://bugs.python.org/issue1478429

----------
effort: ???
messages: 1791
nosy: belopolsky, pypy-issue
priority: bug
release: ???
status: unread
title: Timestamps are rounded differently in pypy and cpython

_______________________________________________________
PyPy development tracker <pypy-dev-issue at codespeak.net>
<https://codespeak.net/issue/pypy-dev/issue548>
_______________________________________________________



More information about the Pypy-issue mailing list