René's URL Explorer Experiment


Title: gh-106320: Remove private _PySys functions by vstinner · Pull Request #108452 · python/cpython · GitHub

Open Graph Title: gh-106320: Remove private _PySys functions by vstinner · Pull Request #108452 · python/cpython

X Title: gh-106320: Remove private _PySys functions by vstinner · Pull Request #108452 · python/cpython

Description: Move private functions to the internal C API (pycore_sysmodule.h): _PySys_GetAttr() _PySys_GetSizeOf() No longer export most of these functions. Fix also a typo in Include/cpython/optimizer.h: add a missing space. Issue: gh-106320

Open Graph Description: Move private functions to the internal C API (pycore_sysmodule.h): _PySys_GetAttr() _PySys_GetSizeOf() No longer export most of these functions. Fix also a typo in Include/cpython/optimizer.h: ad...

X Description: Move private functions to the internal C API (pycore_sysmodule.h): _PySys_GetAttr() _PySys_GetSizeOf() No longer export most of these functions. Fix also a typo in Include/cpython/optimizer.h: ad...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:8197da0d-f1ae-d316-4dc4-049252bf5337
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA822:34E8DF:58E806:7CE000:696A0F8B
html-safe-nonce4ac3f9fe142f087c3bfeb70040484378dd7cf1dd30b7eff3ecc9a40d46f011ed
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODIyOjM0RThERjo1OEU4MDY6N0NFMDAwOjY5NkEwRjhCIiwidmlzaXRvcl9pZCI6Ijk2NTkzNDkyNTQxMzQ4NjQ3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac74a655566e89beaaff3a464bc6e1e5766905b1304502e3478f69327ac794e0ba
hovercard-subject-tagpull_request:1488571905
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/108452/files
twitter:imagehttps://avatars.githubusercontent.com/u/194129?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/194129?s=400&v=4
og:image:altMove private functions to the internal C API (pycore_sysmodule.h): _PySys_GetAttr() _PySys_GetSizeOf() No longer export most of these functions. Fix also a typo in Include/cpython/optimizer.h: ad...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595
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
release7266b2d935baa1c6474b16dd9feaa5ca30607261
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/108452/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F108452%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2F108452%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/108452/files
Reloadhttps://github.com/python/cpython/pull/108452/files
Reloadhttps://github.com/python/cpython/pull/108452/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/108452/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k 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.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/108452/files
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 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
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:pycore_syshttps://github.com/vstinner/cpython/tree/pycore_sys
Conversation 0 https://github.com/python/cpython/pull/108452
Commits 1 https://github.com/python/cpython/pull/108452/commits
Checks 0 https://github.com/python/cpython/pull/108452/checks
Files changed https://github.com/python/cpython/pull/108452/files
Please reload this pagehttps://github.com/python/cpython/pull/108452/files
gh-106320: Remove private _PySys functions https://github.com/python/cpython/pull/108452/files#top
Show all changes 1 commit https://github.com/python/cpython/pull/108452/files
ed2ee4e gh-106320: Remove private _PySys functions vstinner Aug 24, 2023 https://github.com/python/cpython/pull/108452/commits/ed2ee4ed3dcad6f1d406a777c8b2fd2b239ac2f4
Clear filters https://github.com/python/cpython/pull/108452/files
Please reload this pagehttps://github.com/python/cpython/pull/108452/files
Please reload this pagehttps://github.com/python/cpython/pull/108452/files
optimizer.h https://github.com/python/cpython/pull/108452/files#diff-ce774819d93c2abb3bb6a2513a908f07665d5ec2507193db9f10a44ef2b6225a
sysmodule.h https://github.com/python/cpython/pull/108452/files#diff-0c9f73735d4e3ab63721178da521a498c38581d4be8fb191fa7111c3c61bd430
pycore_sysmodule.h https://github.com/python/cpython/pull/108452/files#diff-225387339c11eba754f81eebf96b1e5e2d050bce71d252b06afb3860059194fa
bytesio.c https://github.com/python/cpython/pull/108452/files#diff-fbdbc4e9c4c46bb4d0afb3927ea0ba919e62c1a79c390aa695a50fc317e48e09
_pickle.c https://github.com/python/cpython/pull/108452/files#diff-6a8bf1993db0eae81c2ee98e38eeb1ac4d9342b8b5c090f33417a064e6678562
_threadmodule.c https://github.com/python/cpython/pull/108452/files#diff-23071700ee893f365a4c117210b9129d4ac6afe5cc6e52bb5cd4cabbc6816e07
faulthandler.c https://github.com/python/cpython/pull/108452/files#diff-b2263afa44dcc1317d50775651e27589b6f15fd858d1508e4d5dcc060ea4f991
_warnings.c https://github.com/python/cpython/pull/108452/files#diff-868cb9c3ec7f49459c652319e480e03ee132976b45fbedacb94958f8e0a9ea58
bltinmodule.c https://github.com/python/cpython/pull/108452/files#diff-e4fd8b8ee6a147f86c0719ff122aca6dfca36edbd4812c87892698b3b72e40a1
intrinsics.c https://github.com/python/cpython/pull/108452/files#diff-1c4afe2e9762d9307a6b09ea1e59abb8ba929f2c1c92d15e911c6a93f5fd4c6b
sysmodule.c https://github.com/python/cpython/pull/108452/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
traceback.c https://github.com/python/cpython/pull/108452/files#diff-8bca5f3e0435e43986da8b0359c72b3c60915101d3c0c84d27009eb8c15918f7
Include/cpython/optimizer.hhttps://github.com/python/cpython/pull/108452/files#diff-ce774819d93c2abb3bb6a2513a908f07665d5ec2507193db9f10a44ef2b6225a
View file https://github.com/vstinner/cpython/blob/ed2ee4ed3dcad6f1d406a777c8b2fd2b239ac2f4/Include/cpython/optimizer.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/108452/{{ revealButtonHref }}
https://github.com/python/cpython/pull/108452/files#diff-ce774819d93c2abb3bb6a2513a908f07665d5ec2507193db9f10a44ef2b6225a
https://github.com/python/cpython/pull/108452/files#diff-ce774819d93c2abb3bb6a2513a908f07665d5ec2507193db9f10a44ef2b6225a
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L243
Include/cpython/sysmodule.hhttps://github.com/python/cpython/pull/108452/files#diff-0c9f73735d4e3ab63721178da521a498c38581d4be8fb191fa7111c3c61bd430
View file https://github.com/vstinner/cpython/blob/ed2ee4ed3dcad6f1d406a777c8b2fd2b239ac2f4/Include/cpython/sysmodule.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/108452/{{ revealButtonHref }}
https://github.com/python/cpython/pull/108452/files#diff-0c9f73735d4e3ab63721178da521a498c38581d4be8fb191fa7111c3c61bd430
https://github.com/python/cpython/pull/108452/files#diff-0c9f73735d4e3ab63721178da521a498c38581d4be8fb191fa7111c3c61bd430
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L243
Include/internal/pycore_sysmodule.hhttps://github.com/python/cpython/pull/108452/files#diff-225387339c11eba754f81eebf96b1e5e2d050bce71d252b06afb3860059194fa
View file https://github.com/vstinner/cpython/blob/ed2ee4ed3dcad6f1d406a777c8b2fd2b239ac2f4/Include/internal/pycore_sysmodule.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/108452/{{ revealButtonHref }}
https://github.com/python/cpython/pull/108452/files#diff-225387339c11eba754f81eebf96b1e5e2d050bce71d252b06afb3860059194fa
https://github.com/python/cpython/pull/108452/files#diff-225387339c11eba754f81eebf96b1e5e2d050bce71d252b06afb3860059194fa
Modules/_io/bytesio.chttps://github.com/python/cpython/pull/108452/files#diff-fbdbc4e9c4c46bb4d0afb3927ea0ba919e62c1a79c390aa695a50fc317e48e09
View file https://github.com/vstinner/cpython/blob/ed2ee4ed3dcad6f1d406a777c8b2fd2b239ac2f4/Modules/_io/bytesio.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/108452/{{ revealButtonHref }}
https://github.com/python/cpython/pull/108452/files#diff-fbdbc4e9c4c46bb4d0afb3927ea0ba919e62c1a79c390aa695a50fc317e48e09
Modules/_pickle.chttps://github.com/python/cpython/pull/108452/files#diff-6a8bf1993db0eae81c2ee98e38eeb1ac4d9342b8b5c090f33417a064e6678562
View file https://github.com/vstinner/cpython/blob/ed2ee4ed3dcad6f1d406a777c8b2fd2b239ac2f4/Modules/_pickle.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/108452/{{ revealButtonHref }}
https://github.com/python/cpython/pull/108452/files#diff-6a8bf1993db0eae81c2ee98e38eeb1ac4d9342b8b5c090f33417a064e6678562
https://github.com/python/cpython/pull/108452/files#diff-6a8bf1993db0eae81c2ee98e38eeb1ac4d9342b8b5c090f33417a064e6678562
Modules/_threadmodule.chttps://github.com/python/cpython/pull/108452/files#diff-23071700ee893f365a4c117210b9129d4ac6afe5cc6e52bb5cd4cabbc6816e07
View file https://github.com/vstinner/cpython/blob/ed2ee4ed3dcad6f1d406a777c8b2fd2b239ac2f4/Modules/_threadmodule.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/108452/{{ revealButtonHref }}
https://github.com/python/cpython/pull/108452/files#diff-23071700ee893f365a4c117210b9129d4ac6afe5cc6e52bb5cd4cabbc6816e07
https://github.com/python/cpython/pull/108452/files#diff-23071700ee893f365a4c117210b9129d4ac6afe5cc6e52bb5cd4cabbc6816e07
Modules/faulthandler.chttps://github.com/python/cpython/pull/108452/files#diff-b2263afa44dcc1317d50775651e27589b6f15fd858d1508e4d5dcc060ea4f991
View file https://github.com/vstinner/cpython/blob/ed2ee4ed3dcad6f1d406a777c8b2fd2b239ac2f4/Modules/faulthandler.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/108452/{{ revealButtonHref }}
https://github.com/python/cpython/pull/108452/files#diff-b2263afa44dcc1317d50775651e27589b6f15fd858d1508e4d5dcc060ea4f991
https://github.com/python/cpython/pull/108452/files#diff-b2263afa44dcc1317d50775651e27589b6f15fd858d1508e4d5dcc060ea4f991
Python/_warnings.chttps://github.com/python/cpython/pull/108452/files#diff-868cb9c3ec7f49459c652319e480e03ee132976b45fbedacb94958f8e0a9ea58
View file https://github.com/vstinner/cpython/blob/ed2ee4ed3dcad6f1d406a777c8b2fd2b239ac2f4/Python/_warnings.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/108452/{{ revealButtonHref }}
https://github.com/python/cpython/pull/108452/files#diff-868cb9c3ec7f49459c652319e480e03ee132976b45fbedacb94958f8e0a9ea58
https://github.com/python/cpython/pull/108452/files#diff-868cb9c3ec7f49459c652319e480e03ee132976b45fbedacb94958f8e0a9ea58
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L242
Python/bltinmodule.chttps://github.com/python/cpython/pull/108452/files#diff-e4fd8b8ee6a147f86c0719ff122aca6dfca36edbd4812c87892698b3b72e40a1
View file https://github.com/vstinner/cpython/blob/ed2ee4ed3dcad6f1d406a777c8b2fd2b239ac2f4/Python/bltinmodule.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/108452/{{ revealButtonHref }}
https://github.com/python/cpython/pull/108452/files#diff-e4fd8b8ee6a147f86c0719ff122aca6dfca36edbd4812c87892698b3b72e40a1
https://github.com/python/cpython/pull/108452/files#diff-e4fd8b8ee6a147f86c0719ff122aca6dfca36edbd4812c87892698b3b72e40a1
Python/intrinsics.chttps://github.com/python/cpython/pull/108452/files#diff-1c4afe2e9762d9307a6b09ea1e59abb8ba929f2c1c92d15e911c6a93f5fd4c6b
View file https://github.com/vstinner/cpython/blob/ed2ee4ed3dcad6f1d406a777c8b2fd2b239ac2f4/Python/intrinsics.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/108452/{{ revealButtonHref }}
https://github.com/python/cpython/pull/108452/files#diff-1c4afe2e9762d9307a6b09ea1e59abb8ba929f2c1c92d15e911c6a93f5fd4c6b
https://github.com/python/cpython/pull/108452/files#diff-1c4afe2e9762d9307a6b09ea1e59abb8ba929f2c1c92d15e911c6a93f5fd4c6b
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L243
Python/sysmodule.chttps://github.com/python/cpython/pull/108452/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
View file https://github.com/vstinner/cpython/blob/ed2ee4ed3dcad6f1d406a777c8b2fd2b239ac2f4/Python/sysmodule.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/108452/{{ revealButtonHref }}
https://github.com/python/cpython/pull/108452/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
https://github.com/python/cpython/pull/108452/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
Python/traceback.chttps://github.com/python/cpython/pull/108452/files#diff-8bca5f3e0435e43986da8b0359c72b3c60915101d3c0c84d27009eb8c15918f7
View file https://github.com/vstinner/cpython/blob/ed2ee4ed3dcad6f1d406a777c8b2fd2b239ac2f4/Python/traceback.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/108452/{{ revealButtonHref }}
https://github.com/python/cpython/pull/108452/files#diff-8bca5f3e0435e43986da8b0359c72b3c60915101d3c0c84d27009eb8c15918f7
https://github.com/python/cpython/pull/108452/files#diff-8bca5f3e0435e43986da8b0359c72b3c60915101d3c0c84d27009eb8c15918f7
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.