]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-130317: Fix SNaN broken tests on HP PA RISC (#140452)
authorStefano Rivera <stefano@rivera.za.net>
Wed, 22 Oct 2025 16:36:12 +0000 (09:36 -0700)
committerGitHub <noreply@github.com>
Wed, 22 Oct 2025 16:36:12 +0000 (18:36 +0200)
commit76fea5596c235a7853cda8df87c3998d506e950c
tree887e79a763ff8adf18e6b5d026784ea0958b63bb
parentd2f3cfd38457204a2c47162de6f89ee3dd22fa99
gh-130317: Fix SNaN broken tests on HP PA RISC (#140452)

While looking at #140028, I found some unrelated test regressions in the
3.14 cycle. These seem to all come from #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
Lib/test/test_capi/test_float.py
Lib/test/test_struct.py