This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients eric.smith, mark.dickinson, rhettinger
Date 2009-10-24.17:04:39
SpamBayes Score 1.7058e-09
Marked as misclassified No
Message-id <>
I think the next step on my side is to remove _PyOS_double_to_string,
and make all of the internal code call PyOS_double_to_string. The
distinction is that _PyOS_double_to_string gets passed a buffer and
length, but  PyOS_double_to_string returns allocated memory that must be
freed. David Gay's code (_Py_dg_dtoa) returns allocated memory, so
that's the easiest interface to propagate internally.

That's the approach we used in the py3k branch. I'll start work on it.
So Mark's work should be mostly config stuff and hooking up Gay's code
to PyOS_double_to_string. I think it will basically match the py3k version.

The existing _PyOS_double_to_string will become the basis for the
fallback code for use when PY_NO_SHORT_FLOAT_REPR is defined (and it
will then be renamed PyOS_double_to_string and have its signature
changed to match).
Date User Action Args
2009-10-24 17:04:41eric.smithsetrecipients: + eric.smith, rhettinger, mark.dickinson
2009-10-24 17:04:41eric.smithsetmessageid: <>
2009-10-24 17:04:39eric.smithlinkissue7117 messages
2009-10-24 17:04:39eric.smithcreate