[issue10557] Malformed error message from float()

Alexander Belopolsky report at bugs.python.org
Sat Dec 4 20:31:48 CET 2010


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

On Sat, Dec 4, 2010 at 6:03 AM, Mark Dickinson <report at bugs.python.org> wrote:
..
> I don't much like the extra boilerplate that's introduced (and repeated)
> in longobject.c, floatobject.c and complexobject.c, though.
>

Yes, that's exactly what I meant when I called that code
"repetitious."  Maybe we can tighten this up during the beta period.
What do you think about adding number parsers that operate directly on
Py_UNICODE* strings?

----------

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


More information about the Python-bugs-list mailing list