summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-02-25 00:32:57 (GMT)
committerGitHub <noreply@github.com>2022-02-25 00:32:57 (GMT)
commit1b2611eb0283055835e5df632a7a735db8c894b8 (patch)
treee9333a50ad80b2e1f622d8baf83273c68c085bb3 /Doc/whatsnew
parent5f8b5e2f2150d2223ff9e286bd146de92ff16865 (diff)
downloadcpython-1b2611eb0283055835e5df632a7a735db8c894b8.zip
cpython-1b2611eb0283055835e5df632a7a735db8c894b8.tar.gz
cpython-1b2611eb0283055835e5df632a7a735db8c894b8.tar.bz2
bpo-46656: Remove Py_NO_NAN macro (GH-31160)
Building Python now requires support for floating point Not-a-Number (NaN): remove the Py_NO_NAN macro.
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.11.rst8
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst
index c717aad..0556a44 100644
--- a/Doc/whatsnew/3.11.rst
+++ b/Doc/whatsnew/3.11.rst
@@ -633,11 +633,13 @@ Build Changes
(Contributed by Victor Stinner in :issue:`45440`.)
* Building Python now requires a C99 ``<math.h>`` header file providing
- a ``NAN`` constant, or the ``__builtin_nan()`` built-in function. If a
- platform does not support Not-a-Number (NaN), the ``Py_NO_NAN`` macro can be
- defined in the ``pyconfig.h`` file.
+ a ``NAN`` constant, or the ``__builtin_nan()`` built-in function.
(Contributed by Victor Stinner in :issue:`46640`.)
+* Building Python now requires support for floating point Not-a-Number (NaN):
+ remove the ``Py_NO_NAN`` macro.
+ (Contributed by Victor Stinner in :issue:`46656`.)
+
* Freelists for object structs can now be disabled. A new :program:`configure`
option :option:`!--without-freelists` can be used to disable all freelists
except empty tuple singleton.