[issue5914] Add PyOS_string_to_double function to C API

Eric Smith report at bugs.python.org
Sun May 3 20:32:28 CEST 2009


Eric Smith <eric at trueblade.com> added the comment:

This looks okay to me, and passes the tests.

In PyOS_string_to_double, you can simplify it by using PyErr_Format
instead of printing into a buffer and using PyErr_SetString. Sorry I
didn't catch this earlier.

----------

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


More information about the Python-bugs-list mailing list