]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45440: Require math.h isinf() to build (GH-28894)
authorVictor Stinner <vstinner@python.org>
Wed, 13 Oct 2021 21:27:50 +0000 (23:27 +0200)
committerGitHub <noreply@github.com>
Wed, 13 Oct 2021 21:27:50 +0000 (23:27 +0200)
commit194a9526d8ee6abbbe58ef48520ec87a7e83f327
treeff8b22ba8a475d7da5a5b5a6ca75316bd9d44c5d
parentaac29af6785712019d34f1a7f15b3c408a4f68ae
bpo-45440: Require math.h isinf() to build (GH-28894)

Building Python now requires a C99 <math.h> header file providing
isinf(), isnan() and isfinite() functions.

Remove the Py_FORCE_DOUBLE() macro. It was used by the
Py_IS_INFINITY() macro.

Changes:

* Remove Py_IS_NAN(), Py_IS_INFINITY() and Py_IS_FINITE()
  in PC/pyconfig.h.
* Remove the _Py_force_double() function.
* configure no longer checks if math.h defines isinf(), isnan() and
  isfinite().
Doc/whatsnew/3.11.rst
Include/internal/pycore_pymath.h
Include/pymath.h
Misc/NEWS.d/next/Build/2021-10-12-02-13-08.bpo-45440.-zYgDb.rst [new file with mode: 0644]
Misc/NEWS.d/next/C API/2021-10-12-02-13-41.bpo-45440.Gf94rE.rst [new file with mode: 0644]
PC/pyconfig.h
Python/pymath.c
configure
configure.ac
pyconfig.h.in