comparison Include/Python.h @ 56700:2146bbdf4ed7 legacy-trunk

Issue #7117: Prepare for backport of py3k float repr. Add the Python/dtoa.c file containing the main algorithms; add corresponding include file and include in Python.h; include license information for Python/dtoa.c; add dtoa.c and dtoa.h to Makefile.
author Mark Dickinson <dickinsm@gmail.com>
date Sat, 24 Oct 2009 12:13:30 +0000
parents 4bdd847b57c2
children d11fbc796499
comparison
equal deleted inserted replaced
56699:2f307c7adb8f 56700:2146bbdf4ed7
135 #include "eval.h" 135 #include "eval.h"
136 136
137 #include "pyctype.h" 137 #include "pyctype.h"
138 #include "pystrtod.h" 138 #include "pystrtod.h"
139 #include "pystrcmp.h" 139 #include "pystrcmp.h"
140 #include "dtoa.h"
140 141
141 /* _Py_Mangle is defined in compile.c */ 142 /* _Py_Mangle is defined in compile.c */
142 PyAPI_FUNC(PyObject*) _Py_Mangle(PyObject *p, PyObject *name); 143 PyAPI_FUNC(PyObject*) _Py_Mangle(PyObject *p, PyObject *name);
143 144
144 /* PyArg_GetInt is deprecated and should not be used, use PyArg_Parse(). */ 145 /* PyArg_GetInt is deprecated and should not be used, use PyArg_Parse(). */