René's URL Explorer Experiment


Title: gh-128156: Guard use of `ffi_type_complex_double` on macOS system libffi by encukou · Pull Request #128680 · python/cpython · GitHub

Open Graph Title: gh-128156: Guard use of `ffi_type_complex_double` on macOS system libffi by encukou · Pull Request #128680 · python/cpython

X Title: gh-128156: Guard use of `ffi_type_complex_double` on macOS system libffi by encukou · Pull Request #128680 · python/cpython

Description: formattable.fmt{C,E,F} now have a runtime guard (if USING_APPLE_OS_LIBFFI). The list of type codes (previously SIMPLE_TYPE_CHARS) is now generated at runtime. Issue: gh-128156 📚 Documentation preview 📚: https://cpython-previews--128680.org.readthedocs.build/

Open Graph Description: formattable.fmt{C,E,F} now have a runtime guard (if USING_APPLE_OS_LIBFFI). The list of type codes (previously SIMPLE_TYPE_CHARS) is now generated at runtime. Issue: gh-128156 📚 Documentatio...

X Description: formattable.fmt{C,E,F} now have a runtime guard (if USING_APPLE_OS_LIBFFI). The list of type codes (previously SIMPLE_TYPE_CHARS) is now generated at runtime. Issue: gh-128156 📚 Documentatio...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:62008d4b-8c93-bad1-2c49-69395427a2e7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAF5E:2049AA:EF59C:13DB7E:6A52EBC4
html-safe-nonce3d6ddecbaa574358512a4930d1392eec12d980164753c395f7f659388f5ab606
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRjVFOjIwNDlBQTpFRjU5QzoxM0RCN0U6NkE1MkVCQzQiLCJ2aXNpdG9yX2lkIjoiMTM1NjUzODI5NTIxMTk3NzY2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4c80a48ffa5fdd1cac4d7b004786b6619376e8423d5899e9dacedf6f2d330e52
hovercard-subject-tagpull_request:2268762978
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/128680/files
twitter:imagehttps://avatars.githubusercontent.com/u/302922?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/302922?s=400&v=4
og:image:altformattable.fmt{C,E,F} now have a runtime guard (if USING_APPLE_OS_LIBFFI). The list of type codes (previously SIMPLE_TYPE_CHARS) is now generated at runtime. Issue: gh-128156 📚 Documentatio...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/128680/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F128680%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F128680%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/128680/files
Reloadhttps://github.com/python/cpython/pull/128680/files
Reloadhttps://github.com/python/cpython/pull/128680/files
Please reload this pagehttps://github.com/python/cpython/pull/128680/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/128680/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
encukouhttps://github.com/encukou
python:mainhttps://github.com/python/cpython/tree/main
encukou:guard-complex_doublehttps://github.com/encukou/cpython/tree/guard-complex_double
Conversation 14 https://github.com/python/cpython/pull/128680
Commits 8 https://github.com/python/cpython/pull/128680/commits
Checks 0 https://github.com/python/cpython/pull/128680/checks
Files changed https://github.com/python/cpython/pull/128680/files
Please reload this pagehttps://github.com/python/cpython/pull/128680/files
gh-128156: Guard use of ffi_type_complex_double on macOS system libffi https://github.com/python/cpython/pull/128680/files#top
Show all changes 8 commits https://github.com/python/cpython/pull/128680/files
636b555 Fill in SIMPLE_TYPE_CHARS at runtime encukou Jan 9, 2025 https://github.com/python/cpython/pull/128680/commits/636b555233613a3b99472583da761a3bce178108
adc862e Determine ffi complex support at runtime encukou Jan 9, 2025 https://github.com/python/cpython/pull/128680/commits/adc862e5757f22ce0ab2f59984bdb3b519fe85bf
e808ec2 Blurb & docs tweak encukou Jan 9, 2025 https://github.com/python/cpython/pull/128680/commits/e808ec25ef2c1f9b6ac5d8ef8034c0442580d4e8
aa8c14a Switch to Py_FFI_COMPLEX_AVAILABLE and tweak the comdition encukou Jan 9, 2025 https://github.com/python/cpython/pull/128680/commits/aa8c14abb8a6afef712b956e55456f30ec35f14f
df9b723 Fixups encukou Jan 9, 2025 https://github.com/python/cpython/pull/128680/commits/df9b723645a3bb82575b5e5f0ec2604da56a05d5
bea7568 Adjust c-analyzer's globals-to-fix.tsv encukou Jan 10, 2025 https://github.com/python/cpython/pull/128680/commits/bea75687cfb2ada59f07b8e2f5bb143e4866014a
e8b0992 Merge in the main branch encukou Jan 10, 2025 https://github.com/python/cpython/pull/128680/commits/e8b099217ca62369aaa5e536292dfa58d505e7dd
dc30765 Merge branch 'main' into guard-complex_double encukou Jan 20, 2025 https://github.com/python/cpython/pull/128680/commits/dc3076561a9c8f97c56e7225da585a7c08d35869
Clear filters https://github.com/python/cpython/pull/128680/files
Please reload this pagehttps://github.com/python/cpython/pull/128680/files
Please reload this pagehttps://github.com/python/cpython/pull/128680/files
ctypes.rst https://github.com/python/cpython/pull/128680/files#diff-13b210c267218100dc49e485ac4735e44224ae266e36c35f1ac6bf774f59e60d
test_c_simple_type_meta.py https://github.com/python/cpython/pull/128680/files#diff-d65d99194bbcb2ed9792465b1fb06a00d0936ff05b490bd2ee0ed2b516be15f1
2025-01-09-16-20-34.gh-issue-128156.GfObBq.rst https://github.com/python/cpython/pull/128680/files#diff-c16844afd7a4c9ea1f82d6f209790be809010725364c2c4527875daf5ce0e399
_ctypes.c https://github.com/python/cpython/pull/128680/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4
cfield.c https://github.com/python/cpython/pull/128680/files#diff-2952ec5c776412a52a7a69a6cf735e480d7454e3862d2b8e02f34c927f600aa1
ctypes.h https://github.com/python/cpython/pull/128680/files#diff-53f61eb1ad6b25b3aff25b54b4df5004a1f1137ca1d2aae4c7e31fc00ec6e9f8
globals-to-fix.tsv https://github.com/python/cpython/pull/128680/files#diff-8d1e9a0d5771dfc3a628047509e2d4a1027327bd89392e5a3ec5fbd3d08cfa19
Doc/library/ctypes.rsthttps://github.com/python/cpython/pull/128680/files#diff-13b210c267218100dc49e485ac4735e44224ae266e36c35f1ac6bf774f59e60d
View file https://github.com/encukou/cpython/blob/dc3076561a9c8f97c56e7225da585a7c08d35869/Doc/library/ctypes.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/128680/{{ revealButtonHref }}
https://github.com/python/cpython/pull/128680/files#diff-13b210c267218100dc49e485ac4735e44224ae266e36c35f1ac6bf774f59e60d
https://github.com/python/cpython/pull/128680/files#diff-13b210c267218100dc49e485ac4735e44224ae266e36c35f1ac6bf774f59e60d
Lib/test/test_ctypes/test_c_simple_type_meta.pyhttps://github.com/python/cpython/pull/128680/files#diff-d65d99194bbcb2ed9792465b1fb06a00d0936ff05b490bd2ee0ed2b516be15f1
View file https://github.com/encukou/cpython/blob/dc3076561a9c8f97c56e7225da585a7c08d35869/Lib/test/test_ctypes/test_c_simple_type_meta.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/128680/{{ revealButtonHref }}
https://github.com/python/cpython/pull/128680/files#diff-d65d99194bbcb2ed9792465b1fb06a00d0936ff05b490bd2ee0ed2b516be15f1
https://github.com/python/cpython/pull/128680/files#diff-d65d99194bbcb2ed9792465b1fb06a00d0936ff05b490bd2ee0ed2b516be15f1
Misc/NEWS.d/next/Library/2025-01-09-16-20-34.gh-issue-128156.GfObBq.rsthttps://github.com/python/cpython/pull/128680/files#diff-c16844afd7a4c9ea1f82d6f209790be809010725364c2c4527875daf5ce0e399
View file https://github.com/encukou/cpython/blob/dc3076561a9c8f97c56e7225da585a7c08d35869/Misc/NEWS.d/next/Library/2025-01-09-16-20-34.gh-issue-128156.GfObBq.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/128680/{{ revealButtonHref }}
Modules/_ctypes/_ctypes.chttps://github.com/python/cpython/pull/128680/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4
View file https://github.com/encukou/cpython/blob/dc3076561a9c8f97c56e7225da585a7c08d35869/Modules/_ctypes/_ctypes.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/128680/{{ revealButtonHref }}
https://github.com/python/cpython/pull/128680/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4
https://github.com/python/cpython/pull/128680/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4
https://github.com/python/cpython/pull/128680/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4
https://github.com/python/cpython/pull/128680/files#diff-402bc51df93eaaca2e2f2551ec0206d8af190722ae4703c178554b565d7c14b4
Modules/_ctypes/cfield.chttps://github.com/python/cpython/pull/128680/files#diff-2952ec5c776412a52a7a69a6cf735e480d7454e3862d2b8e02f34c927f600aa1
View file https://github.com/encukou/cpython/blob/dc3076561a9c8f97c56e7225da585a7c08d35869/Modules/_ctypes/cfield.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/128680/{{ revealButtonHref }}
https://github.com/python/cpython/pull/128680/files#diff-2952ec5c776412a52a7a69a6cf735e480d7454e3862d2b8e02f34c927f600aa1
https://github.com/python/cpython/pull/128680/files#diff-2952ec5c776412a52a7a69a6cf735e480d7454e3862d2b8e02f34c927f600aa1
https://github.com/python/cpython/pull/128680/files#diff-2952ec5c776412a52a7a69a6cf735e480d7454e3862d2b8e02f34c927f600aa1
https://github.com/python/cpython/pull/128680/files#diff-2952ec5c776412a52a7a69a6cf735e480d7454e3862d2b8e02f34c927f600aa1
https://github.com/python/cpython/pull/128680/files#diff-2952ec5c776412a52a7a69a6cf735e480d7454e3862d2b8e02f34c927f600aa1
Please reload this pagehttps://github.com/python/cpython/pull/128680/files
https://github.com/python/cpython/pull/128680/files#diff-2952ec5c776412a52a7a69a6cf735e480d7454e3862d2b8e02f34c927f600aa1
https://github.com/python/cpython/pull/128680/files#diff-2952ec5c776412a52a7a69a6cf735e480d7454e3862d2b8e02f34c927f600aa1
https://github.com/python/cpython/pull/128680/files#diff-2952ec5c776412a52a7a69a6cf735e480d7454e3862d2b8e02f34c927f600aa1
Modules/_ctypes/ctypes.hhttps://github.com/python/cpython/pull/128680/files#diff-53f61eb1ad6b25b3aff25b54b4df5004a1f1137ca1d2aae4c7e31fc00ec6e9f8
View file https://github.com/encukou/cpython/blob/dc3076561a9c8f97c56e7225da585a7c08d35869/Modules/_ctypes/ctypes.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/128680/{{ revealButtonHref }}
https://github.com/python/cpython/pull/128680/files#diff-53f61eb1ad6b25b3aff25b54b4df5004a1f1137ca1d2aae4c7e31fc00ec6e9f8
https://github.com/python/cpython/pull/128680/files#diff-53f61eb1ad6b25b3aff25b54b4df5004a1f1137ca1d2aae4c7e31fc00ec6e9f8
https://github.com/python/cpython/pull/128680/files#diff-53f61eb1ad6b25b3aff25b54b4df5004a1f1137ca1d2aae4c7e31fc00ec6e9f8
https://github.com/python/cpython/pull/128680/files#diff-53f61eb1ad6b25b3aff25b54b4df5004a1f1137ca1d2aae4c7e31fc00ec6e9f8
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L129
Tools/c-analyzer/cpython/globals-to-fix.tsvhttps://github.com/python/cpython/pull/128680/files#diff-8d1e9a0d5771dfc3a628047509e2d4a1027327bd89392e5a3ec5fbd3d08cfa19
View file https://github.com/encukou/cpython/blob/dc3076561a9c8f97c56e7225da585a7c08d35869/Tools/c-analyzer/cpython/globals-to-fix.tsv
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/128680/{{ revealButtonHref }}
https://github.com/python/cpython/pull/128680/files#diff-8d1e9a0d5771dfc3a628047509e2d4a1027327bd89392e5a3ec5fbd3d08cfa19
https://github.com/python/cpython/pull/128680/files#diff-8d1e9a0d5771dfc3a628047509e2d4a1027327bd89392e5a3ec5fbd3d08cfa19
https://github.com/python/cpython/pull/128680/files#diff-8d1e9a0d5771dfc3a628047509e2d4a1027327bd89392e5a3ec5fbd3d08cfa19
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.