René's URL Explorer Experiment


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

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

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

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: Issue: Overflows happened silently in array.array setters for 'e', 'f' and 'Zf' format types #156865

X Description: Issue: Overflows happened silently in array.array setters for 'e', 'f' and 'Zf' format types #156865

Opengraph URL: https://github.com/python/cpython/pull/156919

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:0a550a99-ae14-4a5e-aee3-7f6638e2d6c3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDE0C:2D40DE:330F09F:40FD96F:6B021545
html-safe-nonce0ba2582a0288f7ee06b4329f78f209e814bedf621b3c4fabcf93cbf53a14df14
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTBDOjJENDBERTozMzBGMDlGOjQwRkQ5NkY6NkIwMjE1NDUiLCJ2aXNpdG9yX2lkIjoiMTgwMTY5NDMxNjY3MDg4MzE0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac8469819f35be87f3022c3ff4e1c39ca8975031b03a564576c500cb7a1a8c168b
hovercard-subject-tagpull_request:4440815814
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/156919/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/fe94e0a3408e98e8ba8b642f7bb9228916286d634a09fe8c6a302a590e4e7023/python/cpython/pull/156919
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fe94e0a3408e98e8ba8b642f7bb9228916286d634a09fe8c6a302a590e4e7023/python/cpython/pull/156919
og:image:altIssue: Overflows happened silently in array.array setters for 'e', 'f' and 'Zf' format types #156865
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameskirpichev
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/156919#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F156919
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F156919
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/156919
Reloadhttps://github.com/python/cpython/pull/156919
Reloadhttps://github.com/python/cpython/pull/156919
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
skirpichev:fix-ctypes-Zf_set_swhttps://github.com/skirpichev/cpython/tree/fix-ctypes-Zf_set_sw
Conversationhttps://github.com/python/cpython/pull/156919
Commits7 (7)https://github.com/python/cpython/pull/156919/commits
Checkshttps://github.com/python/cpython/pull/156919/checks
Files changedhttps://github.com/python/cpython/pull/156919/files
gh-156865: Don't raise exceptions for ctypes.c_float_complex overflowshttps://github.com/python/cpython/pull/156919#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
skirpichev:fix-ctypes-Zf_set_swhttps://github.com/skirpichev/cpython/tree/fix-ctypes-Zf_set_sw
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Sep 4, 2026https://github.com/python/cpython/pull/156919#issue-5346151854
Please reload this pagehttps://github.com/python/cpython/pull/156919
Overflows happened silently in array.array setters for 'e', 'f' and 'Zf' format types #156865https://github.com/python/cpython/issues/156865
Please reload this pagehttps://github.com/python/cpython/pull/156919
https://github.com/skirpichev
pythongh-156865https://github.com/python/cpython/issues/156865
: don't raise exceptions for overflows in the ctypes m…https://github.com/python/cpython/pull/156919/commits/ca96502433c468235b9bf66e924a2919fefa87fa
ca96502https://github.com/python/cpython/pull/156919/commits/ca96502433c468235b9bf66e924a2919fefa87fa
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Sep 4, 2026 https://github.com/python/cpython/pull/156919#ref-issue-5330471171
Overflows happened silently in array.array setters for 'e', 'f' and 'Zf' format types #156865 https://github.com/python/cpython/issues/156865
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Sep 4, 2026https://github.com/python/cpython/pull/156919#event-30542827363
skirpichevhttps://github.com/skirpichev
September 4, 2026 13:06https://github.com/python/cpython/pull/156919#commits-pushed-bb3fd9e
https://github.com/skirpichev
skip that for poor childrenshttps://github.com/python/cpython/pull/156919/commits/bb3fd9ec6fd03734b3f71559ec44a8d261e092ce
bb3fd9ehttps://github.com/python/cpython/pull/156919/commits/bb3fd9ec6fd03734b3f71559ec44a8d261e092ce
https://github.com/skirpichev
Merge branch 'main' into fix-ctypes-Zf_set_swhttps://github.com/python/cpython/pull/156919/commits/e7afd4e497264404cdb41beda8031b47d4f5e16d
e7afd4ehttps://github.com/python/cpython/pull/156919/commits/e7afd4e497264404cdb41beda8031b47d4f5e16d
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
Sep 10, 2026 https://github.com/python/cpython/pull/156919#pullrequestreview-5162043169
View reviewed changes https://github.com/python/cpython/pull/156919/files/e7afd4e497264404cdb41beda8031b47d4f5e16d
Modules/_ctypes/cfield.chttps://github.com/python/cpython/pull/156919/files/e7afd4e497264404cdb41beda8031b47d4f5e16d#diff-2952ec5c776412a52a7a69a6cf735e480d7454e3862d2b8e02f34c927f600aa1
Please reload this pagehttps://github.com/python/cpython/pull/156919
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 18, 2026 https://github.com/python/cpython/pull/156919#pullrequestreview-5249925827
View reviewed changes https://github.com/python/cpython/pull/156919/files/e7afd4e497264404cdb41beda8031b47d4f5e16d
Misc/NEWS.d/next/Library/2026-09-04-11-45-08.gh-issue-156865.mrdfKJ.rsthttps://github.com/python/cpython/pull/156919/files/e7afd4e497264404cdb41beda8031b47d4f5e16d#diff-39639f0e02ee566130bdedad29cf0f32abe5cfd875c1ad6f2c13b69be38c75f2
Please reload this pagehttps://github.com/python/cpython/pull/156919
Lib/test/test_ctypes/test_numbers.pyhttps://github.com/python/cpython/pull/156919/files/e7afd4e497264404cdb41beda8031b47d4f5e16d#diff-ff11148cfb4629f2b9bbf0a8c7d346b342336230b3eeb53dbb283ac2773e2071
Please reload this pagehttps://github.com/python/cpython/pull/156919
skirpichevhttps://github.com/skirpichev
September 19, 2026 02:42https://github.com/python/cpython/pull/156919#commits-pushed-309d8f3
https://github.com/skirpichev
https://github.com/vstinner
Update Misc/NEWS.d/next/Library/2026-09-04-11-45-08.gh-issue-156865.m…https://github.com/python/cpython/pull/156919/commits/309d8f39001c86b888d61c86a246f981f56302e9
309d8f3https://github.com/python/cpython/pull/156919/commits/309d8f39001c86b888d61c86a246f981f56302e9
https://github.com/skirpichev
Merge branch 'master' into fix-ctypes-Zf_set_swhttps://github.com/python/cpython/pull/156919/commits/bdfb9319ee58a5fda66965fdd27ad70520aba0ed
bdfb931https://github.com/python/cpython/pull/156919/commits/bdfb9319ee58a5fda66965fdd27ad70520aba0ed
https://github.com/skirpichev
address review: split testshttps://github.com/python/cpython/pull/156919/commits/c00602e41e4694fa7a35c41b37f51245303070c5
c00602ehttps://github.com/python/cpython/pull/156919/commits/c00602e41e4694fa7a35c41b37f51245303070c5
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
vstinnerhttps://github.com/vstinner
September 18, 2026 23:47https://github.com/python/cpython/pull/156919#event-31425526256
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 23, 2026 https://github.com/python/cpython/pull/156919#pullrequestreview-5291717641
View reviewed changes https://github.com/python/cpython/pull/156919/files/c00602e41e4694fa7a35c41b37f51245303070c5
Modules/_ctypes/cfield.chttps://github.com/python/cpython/pull/156919/files/c00602e41e4694fa7a35c41b37f51245303070c5#diff-2952ec5c776412a52a7a69a6cf735e480d7454e3862d2b8e02f34c927f600aa1
Please reload this pagehttps://github.com/python/cpython/pull/156919
Misc/NEWS.d/next/Library/2026-09-04-11-45-08.gh-issue-156865.mrdfKJ.rsthttps://github.com/python/cpython/pull/156919/files/c00602e41e4694fa7a35c41b37f51245303070c5#diff-39639f0e02ee566130bdedad29cf0f32abe5cfd875c1ad6f2c13b69be38c75f2
Please reload this pagehttps://github.com/python/cpython/pull/156919
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 23, 2026https://github.com/python/cpython/pull/156919#event-31680119836
https://github.com/skirpichev
https://github.com/vstinner
Apply batched suggestions from code reviewhttps://github.com/python/cpython/pull/156919/commits/19ce6e267236fa8f570e1dadc5b2347d3a643231
19ce6e2https://github.com/python/cpython/pull/156919/commits/19ce6e267236fa8f570e1dadc5b2347d3a643231
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
5ec9283https://github.com/python/cpython/commit/5ec9283f0c69d7820b663d42437be0bdd8a8b5ae
Sep 24, 2026https://github.com/python/cpython/pull/156919#event-31740164796
Please reload this pagehttps://github.com/python/cpython/pull/156919
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Sep 24, 2026https://github.com/python/cpython/pull/156919#event-31740168585
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Sep 24, 2026https://github.com/python/cpython/pull/156919#issuecomment-5810692617
#156865 (comment)https://github.com/python/cpython/issues/156865#issuecomment-5525893878
Please reload this pagehttps://github.com/python/cpython/pull/156919
https://github.com/skirpichev
skirpichevhttps://github.com/skirpichev
September 25, 2026 12:53https://github.com/python/cpython/pull/156919#event-31836257084
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F156919
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/python/cpython/pull/156919/files/c00602e41e4694fa7a35c41b37f51245303070c5
https://github.com/encukou
encukou https://github.com/encukou
https://github.com/python/cpython/pull/156919/files/e7afd4e497264404cdb41beda8031b47d4f5e16d
Please reload this pagehttps://github.com/python/cpython/pull/156919
Please reload this pagehttps://github.com/python/cpython/pull/156919
https://github.com/skirpichev
https://github.com/vstinner
https://github.com/encukou
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.