[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

Garth Dickie pypy-dev-issue at codespeak.net
Fri May 14 23:47:09 CEST 2010


New submission from Garth Dickie <dickie at acm.org>:

In PyPy 1.2, using the downloadable Linux binary,

>>>> float('inf')
Traceback (most recent call last):
  File "<console>", line 1, in <module>
ValueError: invalid literal for float()
>>>> 
 
In CPython 2.5.5, built from source:
>>> float(1)
1.0
>>> float('inf')
inf
>>>

----------
effort: ???
messages: 1727
nosy: gdickie, pypy-issue
priority: bug
release: 1.2
status: unread
title: float('inf') works (generates an inf NAN) in CPython 2.5.5, reports ValueError: invalid literal for float() in PyPy 1.2

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



More information about the Pypy-issue mailing list