[issue10557] Malformed error message from float()

Alexander Belopolsky report at bugs.python.org
Thu Dec 2 19:28:27 CET 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

On Thu, Dec 2, 2010 at 12:54 PM, Mark Dickinson <report at bugs.python.org> wrote:
..
> The classes of whitespace accepted in each position are the same.  IIUC, with your patch,
> that consistency would be lost---is that right?

Good point. I thought The PyUnicode_EncodeDecimal() was stripping the
space, but it was converting it to ASCII ' ' instead.  That's easy to
fix.   Can you suggest a test case?

----------

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


More information about the Python-bugs-list mailing list