]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-130317: Fix SNaN broken tests on HP PA RISC (GH-140452) (#140467)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 22 Oct 2025 17:04:47 +0000 (19:04 +0200)
committerGitHub <noreply@github.com>
Wed, 22 Oct 2025 17:04:47 +0000 (17:04 +0000)
commit853e5d94eb656d60396fcea9f67461f83514a395
tree1703e5f5446de27593a6bcdd88ebd55cdb603167
parent01b52ea5c03ed83dbf44369b75f3b158c14dd912
[3.14] gh-130317: Fix SNaN broken tests on HP PA RISC (GH-140452) (#140467)

gh-130317: Fix SNaN broken tests on HP PA RISC (GH-140452)

While looking at GH-140028, I found some unrelated test regressions in the
3.14 cycle. These seem to all come from GH-130317. From what I can tell,
that made Python more correct than it was before. According to [0], HP PA
RISC uses 1 for SNaN and thus a 0 for QNaN.

[0]: https://grouper.ieee.org/groups/1788/email/msg03272.html
(cherry picked from commit 76fea5596c235a7853cda8df87c3998d506e950c)

Co-authored-by: Stefano Rivera <stefano@rivera.za.net>
Lib/test/test_capi/test_float.py
Lib/test/test_struct.py