]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-136006: fix `Py_NAN` expansion on Solaris systems (GH-136575) (#138734)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Thu, 18 Sep 2025 11:47:12 +0000 (13:47 +0200)
committerGitHub <noreply@github.com>
Thu, 18 Sep 2025 11:47:12 +0000 (12:47 +0100)
commitdf349036b3f912e539643d91b84cbce32e4a1051
treebb38958bed9689e0856087d9c624b7d88bee2932
parent135198dd5d1cd029c1f111f3504cfd4fb63a9f3c
[3.13] gh-136006: fix `Py_NAN` expansion on Solaris systems (GH-136575) (#138734)

On Solaris, `Py_NAN` may expand as a function address instead of a floating-point number.
This amends commit 7a3b03509e5e3e72d8c47137579cccb52548a318.
(cherry picked from commit d54b1091d43b9d8f0da0ba081565bccca3f138fd)
Include/pymath.h
Misc/NEWS.d/next/C API/2025-07-08-22-07-54.gh-issue-136006.XRU5w4.rst [new file with mode: 0644]