René's URL Explorer Experiment


Title: gh-133143: Make information about the interpreter ABI more accessible by zklaus · Pull Request #137476 · python/cpython · GitHub

Open Graph Title: gh-133143: Make information about the interpreter ABI more accessible by zklaus · Pull Request #137476 · python/cpython

X Title: gh-133143: Make information about the interpreter ABI more accessible by zklaus · Pull Request #137476 · python/cpython

Description: This adds a new sys.abi_info object to make basic abi information more readily accessible. The basic idea is to have not just flags as originally envisioned in #133143, but rather a more pythonic object with the required information, following the model of the sys.thread_info and sys.int_info object as suggested in the discussion by @encukou. gh-133143 📚 Documentation preview 📚: https://cpython-previews--137476.org.readthedocs.build/

Open Graph Description: This adds a new sys.abi_info object to make basic abi information more readily accessible. The basic idea is to have not just flags as originally envisioned in #133143, but rather a more pythonic o...

X Description: This adds a new sys.abi_info object to make basic abi information more readily accessible. The basic idea is to have not just flags as originally envisioned in #133143, but rather a more pythonic o...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:8ab0ceec-12eb-ef0e-5358-97d66dff7ed1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9A1E:3064A9:B84459:FA8513:6A555C6D
html-safe-noncedbefe5c6bff482e93c451a9f168bf4b27bc06302732dbb59677f32250e87b258
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTFFOjMwNjRBOTpCODQ0NTk6RkE4NTEzOjZBNTU1QzZEIiwidmlzaXRvcl9pZCI6IjU1NTI0ODg4NTI1Mjk0Mzc4MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca385e064c67237092551ec1d6c128e78d1042c3c0daa3b645b642a07d67dc253
hovercard-subject-tagpull_request:2725007669
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/137476/files
twitter:imagehttps://avatars.githubusercontent.com/u/1185813?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1185813?s=400&v=4
og:image:altThis adds a new sys.abi_info object to make basic abi information more readily accessible. The basic idea is to have not just flags as originally envisioned in #133143, but rather a more pythonic o...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e
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
release73595e82546ca2415571a2031890ab16ecb3001a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/137476/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F137476%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%2F137476%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/137476/files
Reloadhttps://github.com/python/cpython/pull/137476/files
Reloadhttps://github.com/python/cpython/pull/137476/files
Please reload this pagehttps://github.com/python/cpython/pull/137476/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/137476/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
zklaus:add-sys.abi_infohttps://github.com/zklaus/cpython/tree/add-sys.abi_info
Conversation 58 https://github.com/python/cpython/pull/137476
Commits 28 https://github.com/python/cpython/pull/137476/commits
Checks 43 https://github.com/python/cpython/pull/137476/checks
Files changed https://github.com/python/cpython/pull/137476/files
Please reload this pagehttps://github.com/python/cpython/pull/137476/files
gh-133143: Make information about the interpreter ABI more accessible https://github.com/python/cpython/pull/137476/files#top
Show all changes 28 commits https://github.com/python/cpython/pull/137476/files
2e3e54a Add sys.abi_info zklaus Aug 1, 2025 https://github.com/python/cpython/pull/137476/commits/2e3e54a84cff8075e1c50b51bb0a4c8572407ccd
2ddafa4 📜🤖 Added by blurb_it. blurb-it[bot] Aug 6, 2025 https://github.com/python/cpython/pull/137476/commits/2ddafa490c89d0518b39c00e883ede3553f6b83e
cdc50c3 Simplify pointer_bits handling zklaus Aug 7, 2025 https://github.com/python/cpython/pull/137476/commits/cdc50c3deed0a67ab0e4023892f5435c2eeb50c2
6fb25a3 Remove explicit C API function zklaus Aug 7, 2025 https://github.com/python/cpython/pull/137476/commits/6fb25a3dae4f1038b481687922df6f0ae3fd8a61
4c3d83d Make abi_info object a simple namespace with no explicit C API zklaus Aug 7, 2025 https://github.com/python/cpython/pull/137476/commits/4c3d83d0ed0ba6c6f398acaf23e555f642cb99f3
820e002 Cleanup scaffolding zklaus Aug 7, 2025 https://github.com/python/cpython/pull/137476/commits/820e002d7d88fde7748dd40096b97a4cae768cb0
918521f Fix make_abi_info to be static zklaus Aug 7, 2025 https://github.com/python/cpython/pull/137476/commits/918521f9aa0461f7060765037a69906d3097fb92
7863651 Add test zklaus Aug 12, 2025 https://github.com/python/cpython/pull/137476/commits/7863651b34120898cf33b5163c6daa5cc6f581c1
81d75fc Fix test zklaus Aug 12, 2025 https://github.com/python/cpython/pull/137476/commits/81d75fc124544e889c8b53876ca1dcb924c937f7
41027a3 Add link zklaus Aug 14, 2025 https://github.com/python/cpython/pull/137476/commits/41027a34eb37aeded49a26dfb95da529bb3d1099
56726ab Rename attributes zklaus Aug 14, 2025 https://github.com/python/cpython/pull/137476/commits/56726ab34324eaae6f5e15330ead9651b6824bc0
94b7f40 Add better attribute specification to docs zklaus Aug 21, 2025 https://github.com/python/cpython/pull/137476/commits/94b7f407e32551bab4ae2aa493f5efa0437028f3
6887d6c Base `debug` on Py_REF_DEBUG zklaus Aug 21, 2025 https://github.com/python/cpython/pull/137476/commits/6887d6c63ed4f43a0ed00539832d6e4c55986ecd
7ced683 Add byteorder zklaus Aug 21, 2025 https://github.com/python/cpython/pull/137476/commits/7ced683ff73f2bc0af5cc4114a94a32a33a1c08b
cc5ae8c Fix test zklaus Aug 21, 2025 https://github.com/python/cpython/pull/137476/commits/cc5ae8c80dd106dc5bd171e26affa2b1c1b9b04f
5c18587 Improve error message in test zklaus Aug 21, 2025 https://github.com/python/cpython/pull/137476/commits/5c18587dc2781ba37ddc9ce22b578abb69792c38
d025d17 Apply suggestions from code review zklaus Sep 2, 2025 https://github.com/python/cpython/pull/137476/commits/d025d17bc5119620baad581adfa812e93c71aa45
a089371 Revert "Base `debug` on Py_REF_DEBUG" zklaus Sep 2, 2025 https://github.com/python/cpython/pull/137476/commits/a08937172928bb14ee7e562a1d8aa58039f94332
44ce7c7 Add whatsnew entry for improved sys module zklaus Sep 2, 2025 https://github.com/python/cpython/pull/137476/commits/44ce7c7b39778c76f5e1d7669eb9b395ede2728a
8f57f17 Update Python/sysmodule.c zklaus Sep 3, 2025 https://github.com/python/cpython/pull/137476/commits/8f57f17538eaeeccbd10d7d8751d6d9fc86d0e58
77f7b9b Integrate suggestions from Adam Turner zklaus Sep 3, 2025 https://github.com/python/cpython/pull/137476/commits/77f7b9bd6d8390ab51e6eedc3880c96df03f2952
312bff1 Add Windows configuration equivalents zklaus Sep 4, 2025 https://github.com/python/cpython/pull/137476/commits/312bff1e68463f204f6da69b6bcd52f5d57e698d
ed7b6d9 Fix rst lint zklaus Sep 4, 2025 https://github.com/python/cpython/pull/137476/commits/ed7b6d968e442608e753ef861252a722e2a01052
15f065a Use Sphinx markup for attributes encukou Sep 5, 2025 https://github.com/python/cpython/pull/137476/commits/15f065aa8ecab356081782fd7c11dd9b25346641
151eb4c Merge pull request #3 from encukou/add-sys.abi_info zklaus Sep 8, 2025 https://github.com/python/cpython/pull/137476/commits/151eb4c6e619a36e190f7816a8792ea2a9fa2f51
9f5ffae Merge branch 'main' into add-sys.abi_info AA-Turner Sep 8, 2025 https://github.com/python/cpython/pull/137476/commits/9f5ffae9960fcd61d4bf31b71c691b5ab0f6c85f
128b150 Don't use ReST in a C comment encukou Sep 8, 2025 https://github.com/python/cpython/pull/137476/commits/128b150e485976871551a38b9504f9f5c5e84f0e
0506533 docs rephrasing AA-Turner Sep 8, 2025 https://github.com/python/cpython/pull/137476/commits/050653395572562345ac3de5043a9bfda41230be
Clear filters https://github.com/python/cpython/pull/137476/files
Please reload this pagehttps://github.com/python/cpython/pull/137476/files
Please reload this pagehttps://github.com/python/cpython/pull/137476/files
sys.rst https://github.com/python/cpython/pull/137476/files#diff-26fe9050845b6be0f74760ffe9095874cfe2dfec55c22b18e7dba58f3978a418
3.15.rst https://github.com/python/cpython/pull/137476/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
test_sys.py https://github.com/python/cpython/pull/137476/files#diff-f3ae0e3fbb12fe0717e2d9d8801f5d9f3091c34254d1302b228422d7d07fdc5d
2025-08-06-16-55-44.gh-issue-133143.l7CI9v.rst https://github.com/python/cpython/pull/137476/files#diff-4b72d08a61646d429dffe9b9849f8c8496f2a83127f6a5420e31743d1910a81e
sysmodule.c https://github.com/python/cpython/pull/137476/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
Doc/library/sys.rsthttps://github.com/python/cpython/pull/137476/files#diff-26fe9050845b6be0f74760ffe9095874cfe2dfec55c22b18e7dba58f3978a418
View file https://github.com/zklaus/cpython/blob/050653395572562345ac3de5043a9bfda41230be/Doc/library/sys.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/137476/{{ revealButtonHref }}
https://github.com/python/cpython/pull/137476/files#diff-26fe9050845b6be0f74760ffe9095874cfe2dfec55c22b18e7dba58f3978a418
merwokhttps://github.com/merwok
Sep 9, 2025https://github.com/python/cpython/pull/137476/files#r2331736295
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/137476/files
https://github.com/python/cpython/pull/137476/files#diff-26fe9050845b6be0f74760ffe9095874cfe2dfec55c22b18e7dba58f3978a418
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L116
Doc/whatsnew/3.15.rsthttps://github.com/python/cpython/pull/137476/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
View file https://github.com/zklaus/cpython/blob/050653395572562345ac3de5043a9bfda41230be/Doc/whatsnew/3.15.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/137476/{{ revealButtonHref }}
https://github.com/python/cpython/pull/137476/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
https://github.com/python/cpython/pull/137476/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
Lib/test/test_sys.pyhttps://github.com/python/cpython/pull/137476/files#diff-f3ae0e3fbb12fe0717e2d9d8801f5d9f3091c34254d1302b228422d7d07fdc5d
View file https://github.com/zklaus/cpython/blob/050653395572562345ac3de5043a9bfda41230be/Lib/test/test_sys.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/137476/{{ revealButtonHref }}
https://github.com/python/cpython/pull/137476/files#diff-f3ae0e3fbb12fe0717e2d9d8801f5d9f3091c34254d1302b228422d7d07fdc5d
https://github.com/python/cpython/pull/137476/files#diff-f3ae0e3fbb12fe0717e2d9d8801f5d9f3091c34254d1302b228422d7d07fdc5d
Misc/NEWS.d/next/Core_and_Builtins/2025-08-06-16-55-44.gh-issue-133143.l7CI9v.rsthttps://github.com/python/cpython/pull/137476/files#diff-4b72d08a61646d429dffe9b9849f8c8496f2a83127f6a5420e31743d1910a81e
View file https://github.com/zklaus/cpython/blob/050653395572562345ac3de5043a9bfda41230be/Misc/NEWS.d/next/Core_and_Builtins/2025-08-06-16-55-44.gh-issue-133143.l7CI9v.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/137476/{{ revealButtonHref }}
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L247
Python/sysmodule.chttps://github.com/python/cpython/pull/137476/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
View file https://github.com/zklaus/cpython/blob/050653395572562345ac3de5043a9bfda41230be/Python/sysmodule.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/137476/{{ revealButtonHref }}
https://github.com/python/cpython/pull/137476/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
https://github.com/python/cpython/pull/137476/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
https://github.com/python/cpython/pull/137476/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
https://github.com/python/cpython/pull/137476/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
https://github.com/python/cpython/pull/137476/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
https://github.com/python/cpython/pull/137476/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
Please reload this pagehttps://github.com/python/cpython/pull/137476/files
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.