Neal Norwitz wrote:

> I just checked in the modification below.  I'm not sure if this
> behaviour is on purpose or by accident.

Python 2.4 on Linux:

>>> float("  0x3.1  ")
3.0625

Python 2.4 on Windows:

>>> float("  0x3.1  ")
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ValueError: invalid literal for float(): 0x3.1

</F>



_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to