FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.15] gh-155526: Don't check errno in abs(complex) (GH-155527) by skirpichev · Pull Request #157341 · python/cpython · GitHub

Repository navigation

[3.15] gh-155526: Don't check errno in abs(complex) (GH-155527) - #157341

Merged
hugovk merged 1 commit into
python:3.15from
skirpichev:backport-e5d4fa2-3.15
Sep 15, 2026
Merged

hugovk merged 1 commit into
python:3.15from
skirpichev:backport-e5d4fa2-3.15

Conversation

skirpichev commented Sep 11, 2026 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

abs(complex) no longer raises OverflowError if errno was set to ERANGE by some library call but abs() doesn't overflow.

(cherry picked from commit e5d4fa2)

…55527)

abs(complex) no longer raises OverflowError if errno was set to ERANGE
by some library call but abs() doesn't overflow.

(cherry picked from commit e5d4fa2)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: hpkfft.com <paul@hpkfft.com>

vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM

hugovk merged commit 340cfba into python:3.15 Sep 15, 2026
64 checks passed

Copy link
Copy Markdown

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

Copy link
Copy Markdown

Sorry, @skirpichev and @hugovk, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 340cfbaf679c1230fd438042d764b6922b483242 3.13

bedevere-app Bot commented Sep 15, 2026

Copy link
Copy Markdown

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

bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Sep 15, 2026

bedevere-app Bot commented Sep 15, 2026

Copy link
Copy Markdown

GH-157558 is a backport of this pull request to the 3.13 branch.

bedevere-app Bot removed the needs backport to 3.13 only security fixes label Sep 15, 2026
hugovk pushed a commit that referenced this pull request Sep 15, 2026
…57341) (#157555)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: hpkfft.com <paul@hpkfft.com>
skirpichev deleted the backport-e5d4fa2-3.15 branch September 15, 2026 19:34
vstinner added a commit that referenced this pull request Sep 23, 2026
) (#157558)

[3.15] gh-155526: Don't check errno in abs(complex) (GH-155527) (#157341)



(cherry picked from commit 340cfba)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: hpkfft.com <paul@hpkfft.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL