Numeric comparison anomaly

Klaus Alexander Seistrup dvine at coppernet.zm
Wed Feb 19 18:55:18 EST 2003


Paul M wrote:

> Python 2.2.1 (#34, Apr  9 2002, 19:34:33) [MSC 32 bit (Intel)] on win32
> Type "copyright", "credits" or "license" for more information.
> IDLE 0.8 -- press F1 for help
>>>> infinity = float('Inf')
> Traceback (most recent call last):
>   File "<pyshell#0>", line 1, in ?
>     infinity = float('Inf')
> ValueError: invalid literal for float(): Inf

Hm, too bad.


  // Klaus

-- 
 ><> 	vandag, môre, altyd saam




More information about the Python-list mailing list