I thought it will be the same for FreeBSD, but here are the results:

FreeBSD 4.8 with Python 2.3.4

Python 2.3.4 (#2, Nov 10 2004, 05:08:39)
[GCC 2.95.4 20020320 [FreeBSD]] on freebsd4
Type "help", "copyright", "credits" or "license" for more information.
>>> inf = 1e308*2
>>> inf
Inf
>>> float('Inf')
Traceback (most recent call last):
 File "<stdin>", line 1, in ?
ValueError: invalid literal for float(): Inf
>>>



FreeBSD 4.8 with Python 2.4

Python 2.4 (#2, Jan 27 2005, 17:11:08)
[GCC 2.95.4 20020320 [FreeBSD]] on freebsd4
Type "help", "copyright", "credits" or "license" for more information.
>>> inf = 1e308*2
>>> inf
Inf
>>> float('Inf')
Traceback (most recent call last):
 File "<stdin>", line 1, in ?
ValueError: invalid literal for float(): Inf
>>>



--
_________________________________________________________________
 Laszlo Nagy                  web: http://designasign.biz
 IT Consultant                mail: [EMAIL PROTECTED]

                Python forever!


-- http://mail.python.org/mailman/listinfo/python-list

Reply via email to