[pypy-issue] [issue1399] The datetime module appears to be old (and has some divergence from CPython)

bdk tracker at bugs.pypy.org
Sun Feb 17 12:21:07 CET 2013


bdk <bdkearns at gmail.com> added the comment:

A single comment doesn't imply the entire file is old.

Why don't you be more specific? What PyPy version 'dies' with a TypeError? 
Recent builds work fine -- I see this:

$ ./pypy/goal/pypy-c --version
Python 2.7.3 (2a03b3b62fba, Feb 14 2013, 02:00:12)
[PyPy 2.0.0-beta1 with GCC 4.6.3]
$ ./pypy/goal/pypy-c 
Python 2.7.3 (2a03b3b62fba, Feb 14 2013, 02:00:12)
[PyPy 2.0.0-beta1 with GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
And now for something completely different: ``a 10th of forever is 1h45''
>>>> import decimal, datetime
>>>> datetime.datetime(decimal.Decimal(2012), 12, 12)
datetime.datetime(2012, 12, 12, 0, 0)
>>>> 
$ ./pypy/goal/pypy-c --version
Python 2.7.3 (2a03b3b62fba, Feb 14 2013, 02:00:12)
[PyPy 2.0.0-beta1 with GCC 4.6.3]

----------
nosy: +bdk
status: unread -> chatting

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


More information about the pypy-issue mailing list