René's URL Explorer Experiment


Title: bpo-43795: Remove Py_FrozenMain from the Limited API & Stable ABI by encukou · Pull Request #26241 · python/cpython · GitHub

Open Graph Title: bpo-43795: Remove Py_FrozenMain from the Limited API & Stable ABI by encukou · Pull Request #26241 · python/cpython

X Title: bpo-43795: Remove Py_FrozenMain from the Limited API & Stable ABI by encukou · Pull Request #26241 · python/cpython

Description: Py_FrozenMain was added to the Limited C API in bpo-42591 (3.10.0a4); but to fix that issue it would be enough to add it to the regular C API. The function is undocumented, tests were added very recently (bpo-44131), and most importantly, it is not present in all builds of Python, as the linker sometimes omits it as unused. It should be added back when these issues are fixed. Note that this does not affect Python's regular C API. https://bugs.python.org/issue43795 Automerge-Triggered-By: GH:encukou

Open Graph Description: Py_FrozenMain was added to the Limited C API in bpo-42591 (3.10.0a4); but to fix that issue it would be enough to add it to the regular C API. The function is undocumented, tests were added very re...

X Description: Py_FrozenMain was added to the Limited C API in bpo-42591 (3.10.0a4); but to fix that issue it would be enough to add it to the regular C API. The function is undocumented, tests were added very re...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:0397b81b-ab38-63f0-3970-437c21ab5e21
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9A12:29CAE4:1EEC89:2B387A:696A6411
html-safe-noncef1dda60cc96e097a9170e446d6855e24c2ffd3f2b422edf4c7cad927b0126e39
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTEyOjI5Q0FFNDoxRUVDODk6MkIzODdBOjY5NkE2NDExIiwidmlzaXRvcl9pZCI6IjM5ODQ4NTAwMjU5NzQ0OTAxMjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac15be3fb767cbc88f584efe45206fea98cd991852e82187492861c41445fc0328
hovercard-subject-tagpull_request:647670403
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/26241/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:altPy_FrozenMain was added to the Limited C API in bpo-42591 (3.10.0a4); but to fix that issue it would be enough to add it to the regular C API. The function is undocumented, tests were added very re...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9b7735a184970dd9333b2cbe036c8f3c0a9108c64aaa93827c5a64fc70993392
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
release87cbd411c2982752221b5751d583a515b23bf5fa
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/26241/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F26241%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%2F26241%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/26241/files
Reloadhttps://github.com/python/cpython/pull/26241/files
Reloadhttps://github.com/python/cpython/pull/26241/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/26241/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/26241/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
miss-islingtonhttps://github.com/miss-islington
python:mainhttps://github.com/python/cpython/tree/main
encukou:pep652-no-frozenmainhttps://github.com/encukou/cpython/tree/pep652-no-frozenmain
Conversation 12 https://github.com/python/cpython/pull/26241
Commits 7 https://github.com/python/cpython/pull/26241/commits
Checks 0 https://github.com/python/cpython/pull/26241/checks
Files changed https://github.com/python/cpython/pull/26241/files
Please reload this pagehttps://github.com/python/cpython/pull/26241/files
bpo-43795: Remove Py_FrozenMain from the Limited API & Stable ABI https://github.com/python/cpython/pull/26241/files#top
Show all changes 7 commits https://github.com/python/cpython/pull/26241/files
f35f65b bpo-43795: Remove Py_FrozenMain from the Limited API & Stable ABI encukou May 19, 2021 https://github.com/python/cpython/pull/26241/commits/f35f65b04c7a3b5075a66ce072bcf08de5712b3a
eb57a3b Don't define Py_FrozenMain with Py_LIMITED_API encukou May 19, 2021 https://github.com/python/cpython/pull/26241/commits/eb57a3b28cf8805040a4ed5a88488ddb5ec2c82a
dac5c8c Add a blurb encukou May 19, 2021 https://github.com/python/cpython/pull/26241/commits/dac5c8c7cdcbeea3729473b4b31773fe7b62785f
7aa20ce Fix ReST syntax in blurb encukou May 19, 2021 https://github.com/python/cpython/pull/26241/commits/7aa20ce33e9352cceffebf605d1f47a3e9866554
35bcbfb Move Py_FrozenMain definition ot Include/cpython encukou May 21, 2021 https://github.com/python/cpython/pull/26241/commits/35bcbfb31335b9c6525817c337a7ee041962f86e
860fdd0 Update news & whatsnew encukou May 21, 2021 https://github.com/python/cpython/pull/26241/commits/860fdd09ba282ccb87adbc8d9440de17ef66af00
b333913 Update Doc/whatsnew/3.10.rst encukou May 25, 2021 https://github.com/python/cpython/pull/26241/commits/b333913e7f83f61a49028f5cc6606948f3322963
Clear filters https://github.com/python/cpython/pull/26241/files
Please reload this pagehttps://github.com/python/cpython/pull/26241/files
Please reload this pagehttps://github.com/python/cpython/pull/26241/files
stable_abi.dat https://github.com/python/cpython/pull/26241/files#diff-e87eccb88c979495c493aed4127b9f9932c320edfe4d95c8e28e2ca92e8e33f3
3.10.rst https://github.com/python/cpython/pull/26241/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c
pylifecycle.h https://github.com/python/cpython/pull/26241/files#diff-0bf60487b94c5152e970cc86cbc5d8fcaa7e729628b15f3e83f3ad31406dcaee
pylifecycle.h https://github.com/python/cpython/pull/26241/files#diff-04cebdfb695b1ad3aa046d76250d4c11ca627afab9e204e106ed79d64a3f5af2
2021-05-19-15-09-47.bpo-43795.WAHRxt.rst https://github.com/python/cpython/pull/26241/files#diff-f9664d74ffd2587c81e02eaf12f02922a5a5867569b460be6bcca4a0295951a2
stable_abi.txt https://github.com/python/cpython/pull/26241/files#diff-43a983c76a633759b683f6d9cc60064a1a4542f20bbbddec4de7a1f05dedfd56
python3dll.c https://github.com/python/cpython/pull/26241/files#diff-be34b08a4cde4f0bfbf86bc3c427e4a3dcc3f2f472061a50d00040a0d8a57c88
Doc/data/stable_abi.dathttps://github.com/python/cpython/pull/26241/files#diff-e87eccb88c979495c493aed4127b9f9932c320edfe4d95c8e28e2ca92e8e33f3
View file https://github.com/encukou/cpython/blob/b333913e7f83f61a49028f5cc6606948f3322963/Doc/data/stable_abi.dat
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/26241/{{ revealButtonHref }}
https://github.com/python/cpython/pull/26241/files#diff-e87eccb88c979495c493aed4127b9f9932c320edfe4d95c8e28e2ca92e8e33f3
https://github.com/python/cpython/pull/26241/files#diff-e87eccb88c979495c493aed4127b9f9932c320edfe4d95c8e28e2ca92e8e33f3
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L114
Doc/whatsnew/3.10.rsthttps://github.com/python/cpython/pull/26241/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c
View file https://github.com/encukou/cpython/blob/b333913e7f83f61a49028f5cc6606948f3322963/Doc/whatsnew/3.10.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/26241/{{ revealButtonHref }}
https://github.com/python/cpython/pull/26241/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c
https://github.com/python/cpython/pull/26241/files#diff-a68d5b2117cfed2ddb0b199e367c22ce9c1427d4a016277eafddb551ca4f250c
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L310
Include/cpython/pylifecycle.hhttps://github.com/python/cpython/pull/26241/files#diff-0bf60487b94c5152e970cc86cbc5d8fcaa7e729628b15f3e83f3ad31406dcaee
View file https://github.com/encukou/cpython/blob/b333913e7f83f61a49028f5cc6606948f3322963/Include/cpython/pylifecycle.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/26241/{{ revealButtonHref }}
https://github.com/python/cpython/pull/26241/files#diff-0bf60487b94c5152e970cc86cbc5d8fcaa7e729628b15f3e83f3ad31406dcaee
https://github.com/python/cpython/pull/26241/files#diff-0bf60487b94c5152e970cc86cbc5d8fcaa7e729628b15f3e83f3ad31406dcaee
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L310
Include/pylifecycle.hhttps://github.com/python/cpython/pull/26241/files#diff-04cebdfb695b1ad3aa046d76250d4c11ca627afab9e204e106ed79d64a3f5af2
View file https://github.com/encukou/cpython/blob/b333913e7f83f61a49028f5cc6606948f3322963/Include/pylifecycle.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/26241/{{ revealButtonHref }}
https://github.com/python/cpython/pull/26241/files#diff-04cebdfb695b1ad3aa046d76250d4c11ca627afab9e204e106ed79d64a3f5af2
https://github.com/python/cpython/pull/26241/files#diff-04cebdfb695b1ad3aa046d76250d4c11ca627afab9e204e106ed79d64a3f5af2
Misc/NEWS.d/next/C API/2021-05-19-15-09-47.bpo-43795.WAHRxt.rsthttps://github.com/python/cpython/pull/26241/files#diff-f9664d74ffd2587c81e02eaf12f02922a5a5867569b460be6bcca4a0295951a2
View file https://github.com/encukou/cpython/blob/b333913e7f83f61a49028f5cc6606948f3322963/Misc/NEWS.d/next/C%20API/2021-05-19-15-09-47.bpo-43795.WAHRxt.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/26241/{{ revealButtonHref }}
Misc/stable_abi.txthttps://github.com/python/cpython/pull/26241/files#diff-43a983c76a633759b683f6d9cc60064a1a4542f20bbbddec4de7a1f05dedfd56
View file https://github.com/encukou/cpython/blob/b333913e7f83f61a49028f5cc6606948f3322963/Misc/stable_abi.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/26241/{{ revealButtonHref }}
https://github.com/python/cpython/pull/26241/files#diff-43a983c76a633759b683f6d9cc60064a1a4542f20bbbddec4de7a1f05dedfd56
https://github.com/python/cpython/pull/26241/files#diff-43a983c76a633759b683f6d9cc60064a1a4542f20bbbddec4de7a1f05dedfd56
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L184
PC/python3dll.chttps://github.com/python/cpython/pull/26241/files#diff-be34b08a4cde4f0bfbf86bc3c427e4a3dcc3f2f472061a50d00040a0d8a57c88
View file https://github.com/encukou/cpython/blob/b333913e7f83f61a49028f5cc6606948f3322963/PC/python3dll.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/26241/{{ revealButtonHref }}
https://github.com/python/cpython/pull/26241/files#diff-be34b08a4cde4f0bfbf86bc3c427e4a3dcc3f2f472061a50d00040a0d8a57c88
https://github.com/python/cpython/pull/26241/files#diff-be34b08a4cde4f0bfbf86bc3c427e4a3dcc3f2f472061a50d00040a0d8a57c88
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.