[pypy-issue] [issue738] utcfromtimestamp handles time before the epoch differently in pypy and cpython

behackett tracker at bugs.pypy.org
Fri Jun 3 23:37:07 CEST 2011


New submission from behackett <bernie at 10gen.com>:

pypy 1.5:

>>>> datetime.datetime.utcfromtimestamp(-62135593139.0)
datetime.datetime(1, 1, 1, 1, 1)

cpython 2.7:

>>> datetime.datetime.utcfromtimestamp(-62135593139.0)
datetime.datetime(1, 1, 1, 1, 1, 1)

----------
messages: 2600
nosy: behackett, pypy-issue
priority: bug
status: unread
title: utcfromtimestamp handles time before the epoch differently in pypy and cpython

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue738>
________________________________________


More information about the pypy-issue mailing list