[Python-Dev] [Python-checkins] commit of r41497 -python/trunk/Lib/test
Fredrik Lundh
fredrik at pythonware.com
Tue Nov 22 08:48:25 CET 2005
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>
More information about the Python-Dev
mailing list