]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35081: Move dtoa.h header to the internal C API (GH-18489)
authorVictor Stinner <vstinner@python.org>
Wed, 12 Feb 2020 21:54:42 +0000 (22:54 +0100)
committerGitHub <noreply@github.com>
Wed, 12 Feb 2020 21:54:42 +0000 (22:54 +0100)
commite9e7d284c434768333fdfb53a3663eae74cb995a
treee9606ee5a7cf9801138448fe50aad004b05b188b
parent45876a90e2663f12b90c2090ec3e48bd97841aae
bpo-35081: Move dtoa.h header to the internal C API (GH-18489)

Move the dtoa.h header file to the internal C API as pycore_dtoa.h:
it only contains private functions (prefixed by "_Py").

The math and cmath modules must now be compiled with the
Py_BUILD_CORE macro defined.
13 files changed:
Include/Python.h
Include/internal/pycore_dtoa.h [moved from Include/dtoa.h with 66% similarity]
Makefile.pre.in
Misc/NEWS.d/next/C API/2020-02-12-21-24-02.bpo-35081.at7BjN.rst [new file with mode: 0644]
Modules/Setup
Modules/cmathmodule.c
Modules/mathmodule.c
Objects/floatobject.c
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Python/dtoa.c
Python/pystrtod.c
setup.py