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

gh-156865: Don't raise exceptions for ctypes.c_float_complex overflows by skirpichev · Pull Request #156919 · python/cpython · GitHub

Repository navigation

gh-156865: Don't raise exceptions for ctypes.c_float_complex overflows - #156919

Merged
vstinner merged 7 commits into
python:mainfrom
skirpichev:fix-ctypes-Zf_set_sw
Sep 24, 2026
Merged

vstinner merged 7 commits into
python:mainfrom
skirpichev:fix-ctypes-Zf_set_sw

Conversation

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

Copy link
Copy Markdown
Member

Comment thread Modules/_ctypes/cfield.c
Comment thread Lib/test/test_ctypes/test_numbers.py Outdated
skirpichev requested a review from vstinner September 18, 2026 23:47
Comment thread Modules/_ctypes/cfield.c
vstinner changed the title gh-156865: don't raise exceptions for overflows in the ctypes module gh-156865: Don't raise exceptions for ctypes.c_float_complex overflows Sep 23, 2026
Co-authored-by: Victor Stinner <vstinner@python.org>
vstinner merged commit 5ec9283 into python:main Sep 24, 2026
55 checks passed

Copy link
Copy Markdown
Member

Merged. Thanks for the fix.

Even if Python 3.14 and 3.15 are affected, I prefer to not backport the change: #156865 (comment).

skirpichev deleted the fix-ctypes-Zf_set_sw branch September 25, 2026 12:53
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