Skip to content

Conversation

@stefanor
Copy link
Contributor

@stefanorstefanor commented Oct 22, 2025

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.

Update tests to expect this.

While looking at python#140028 I found some unrelated test regressions in the 3.14 cycle. These seem to all come from python#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. Update tests to expect this. [0]: https://grouper.ieee.org/groups/1788/email/msg03272.html
@bedevere-appbedevere-appbot added tests Tests in the Lib/test dir awaiting review labels Oct 22, 2025
@stefanor
Copy link
ContributorAuthor

FYI: @thesamesam

@skirpichevskirpichev self-requested a review October 22, 2025 11:17
@skirpichevskirpichev changed the title Fix SNaN broken tests on HP PA RISCgh-130317: Fix SNaN broken tests on HP PA RISCOct 22, 2025
@skirpichevskirpichev added the needs backport to 3.14 bugs and security fixes label Oct 22, 2025
@skirpichev
Copy link
Member

CC @vstinner

Copy link
Member

@skirpichevskirpichev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, minor nitpicks

Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vstinnervstinner merged commit 76fea55 into python:mainOct 22, 2025
47 checks passed
@miss-islington-app
Copy link

Thanks @stefanor for the PR, and @vstinner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 22, 2025
While looking at pythonGH-140028, I found some unrelated test regressions in the 3.14 cycle. These seem to all come from pythonGH-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 76fea55) Co-authored-by: Stefano Rivera <stefano@rivera.za.net>
@stefanorstefanor deleted the hppa-quiet-nans branch October 22, 2025 16:36
@bedevere-app
Copy link

GH-140467 is a backport of this pull request to the 3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14 bugs and security fixes label Oct 22, 2025
@vstinner
Copy link
Member

Merged, thanks.

vstinner pushed a commit that referenced this pull request Oct 22, 2025
…40467) 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 76fea55) Co-authored-by: Stefano Rivera <stefano@rivera.za.net>
StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request Dec 6, 2025
While looking at python#140028, I found some unrelated test regressions in the 3.14 cycle. These seem to all come from python#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
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip newstestsTests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@stefanor@skirpichev@vstinner