[PyPy-issue] [issue534] float('inf') works (generates an inf NAN) in CPython 2.5.5, reports ValueError: invalid literal for float() in PyPy 1.2

Alex Gaynor pypy-dev-issue at codespeak.net
Sat May 15 00:07:10 CEST 2010


Alex Gaynor <alex.gaynor at gmail.com> added the comment:

Looks like we just need a special case in pypy.objspace.std.strutil, CPython also 
allows NaN and Infinity. all are matched case insensitively and all support 
negation.

----------
status: unread -> chatting

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



More information about the Pypy-issue mailing list