[issue10557] Malformed error message from float()

Mark Dickinson report at bugs.python.org
Thu Dec 2 20:20:08 CET 2010


Mark Dickinson <dickinsm at gmail.com> added the comment:

Ah yes, you're right: this shouldn't be a hard fix. I withdraw my suggestion for a separate patch.  :-)

Checking that:

  complex('\xa0(\xa02+3j\xa0)\xa0') == complex(2.0, 3.0)

would probably be enough.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10557>
_______________________________________


More information about the Python-bugs-list mailing list