René's URL Explorer Experiment


Title: gh-107954, PEP 741: Add PyInitConfig C API by vstinner · Pull Request #123502 · python/cpython · GitHub

Open Graph Title: gh-107954, PEP 741: Add PyInitConfig C API by vstinner · Pull Request #123502 · python/cpython

X Title: gh-107954, PEP 741: Add PyInitConfig C API by vstinner · Pull Request #123502 · python/cpython

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

Open Graph Description: Add Doc/c-api/config.rst documentation. Issue: [C API] PEP 741: Add PyInitConfig C API to customize the Python initialization #107954 📚 Documentation preview 📚: https://cpython-previews--123...

X Description: Add Doc/c-api/config.rst documentation. Issue: [C API] PEP 741: Add PyInitConfig C API to customize the Python initialization #107954 📚 Documentation preview 📚: https://cpython-previews--123...

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

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:b9878dfe-b65d-e496-5d16-639cb09e7f9e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE654:1AE20C:485A58C:5B6ACB7:6B023A51
html-safe-nonceda2aae29591bb890aaa17fe97e4f84b548521173e58e30bc64e236eb4032bda5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjU0OjFBRTIwQzo0ODVBNThDOjVCNkFDQjc6NkIwMjNBNTEiLCJ2aXNpdG9yX2lkIjoiMTkyODYxMjA0MzM3NjcwNDA4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacb1422556a28ca5e381174ab7d6cabbad045fd76a8854e161c6e8b0c4e4638d8a
hovercard-subject-tagpull_request:2046313104
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/123502/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/44540969eb19560be5f6337d19cd8932f4ed2bd24dde6007d4b264a514697ef9/python/cpython/pull/123502
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/44540969eb19560be5f6337d19cd8932f4ed2bd24dde6007d4b264a514697ef9/python/cpython/pull/123502
og:image:altAdd Doc/c-api/config.rst documentation. Issue: [C API] PEP 741: Add PyInitConfig C API to customize the Python initialization #107954 📚 Documentation preview 📚: https://cpython-previews--123...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevstinner
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/123502#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F123502
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%2F123502
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/123502
Reloadhttps://github.com/python/cpython/pull/123502
Reloadhttps://github.com/python/cpython/pull/123502
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
vstinner:initconfighttps://github.com/vstinner/cpython/tree/initconfig
Conversationhttps://github.com/python/cpython/pull/123502
Commits19 (19)https://github.com/python/cpython/pull/123502/commits
Checkshttps://github.com/python/cpython/pull/123502/checks
Files changedhttps://github.com/python/cpython/pull/123502/files
gh-107954, PEP 741: Add PyInitConfig C APIhttps://github.com/python/cpython/pull/123502#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
vstinner:initconfighttps://github.com/vstinner/cpython/tree/initconfig
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Aug 30, 2024https://github.com/python/cpython/pull/123502#issue-2497123448
Please reload this pagehttps://github.com/python/cpython/pull/123502
[C API] PEP 741: Add PyInitConfig C API to customize the Python initialization #107954https://github.com/python/cpython/issues/107954
https://cpython-previews--123502.org.readthedocs.build/https://cpython-previews--123502.org.readthedocs.build/
Please reload this pagehttps://github.com/python/cpython/pull/123502
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Aug 30, 2024 https://github.com/python/cpython/pull/123502#ref-issue-1850673514
[C API] PEP 741: Add PyInitConfig C API to customize the Python initialization #107954 https://github.com/python/cpython/issues/107954
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Aug 30, 2024 https://github.com/python/cpython/pull/123502#ref-pullrequest-1920739196
[PEP 741] gh-107954: Add PyInitConfig C API #110176 https://github.com/python/cpython/pull/110176
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Aug 30, 2024https://github.com/python/cpython/pull/123502#issuecomment-2321119459
#110176https://github.com/python/cpython/pull/110176
Please reload this pagehttps://github.com/python/cpython/pull/123502
vstinnerhttps://github.com/vstinner
August 30, 2024 15:59https://github.com/python/cpython/pull/123502#commits-pushed-c745977
https://github.com/vstinner
pythongh-107954https://github.com/python/cpython/issues/107954
, PEP 741: Add PyInitConfig C APIhttps://github.com/python/cpython/pull/123502/commits/c74597703d1cf5de4ab028df855dacdd382c966c
c745977https://github.com/python/cpython/pull/123502/commits/c74597703d1cf5de4ab028df855dacdd382c966c
https://github.com/vstinner
Fix compilation on clanghttps://github.com/python/cpython/pull/123502/commits/79741e5ab783845522cc8c9f700544bc899c8840
79741e5https://github.com/python/cpython/pull/123502/commits/79741e5ab783845522cc8c9f700544bc899c8840
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
force-pushedhttps://github.com/python/cpython/compare/b625374dde20c1b1cf7bec14a27053b83cf9a278..79741e5ab783845522cc8c9f700544bc899c8840
b625374https://github.com/python/cpython/commit/b625374dde20c1b1cf7bec14a27053b83cf9a278
79741e5https://github.com/python/cpython/commit/79741e5ab783845522cc8c9f700544bc899c8840
Compare https://github.com/python/cpython/compare/b625374dde20c1b1cf7bec14a27053b83cf9a278..79741e5ab783845522cc8c9f700544bc899c8840
August 30, 2024 14:00https://github.com/python/cpython/pull/123502#event-14081862265
vstinnerhttps://github.com/vstinner
August 30, 2024 16:42https://github.com/python/cpython/pull/123502#commits-pushed-e04d667
https://github.com/vstinner
Add tests on the Get APIhttps://github.com/python/cpython/pull/123502/commits/e04d667d622ab20800077d5d399890576573bc49
e04d667https://github.com/python/cpython/pull/123502/commits/e04d667d622ab20800077d5d399890576573bc49
https://github.com/vstinner
Remove preconfiguration; add raw_memberhttps://github.com/python/cpython/pull/123502/commits/6ca4b41a8ac021e9a37ed13a459949c3b12f2991
6ca4b41https://github.com/python/cpython/pull/123502/commits/6ca4b41a8ac021e9a37ed13a459949c3b12f2991
https://github.com/vstinner
Merge branch 'main' into initconfighttps://github.com/python/cpython/pull/123502/commits/18e77b75f9d6c50d79d40b0f4878e1cdc46afa36
18e77b7https://github.com/python/cpython/pull/123502/commits/18e77b75f9d6c50d79d40b0f4878e1cdc46afa36
https://github.com/vstinner
Rename config_get_spec() to initconfig_get_spec()https://github.com/python/cpython/pull/123502/commits/693c72b689807cecedb5520543f3ab3e2880a58d
693c72bhttps://github.com/python/cpython/pull/123502/commits/693c72b689807cecedb5520543f3ab3e2880a58d
https://github.com/vstinner
Add PyInitConfig.preconfighttps://github.com/python/cpython/pull/123502/commits/fcc7d09cb9c027487f23e96daa7b7402516c9cbd
fcc7d09https://github.com/python/cpython/pull/123502/commits/fcc7d09cb9c027487f23e96daa7b7402516c9cbd
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
September 2, 2024 22:31https://github.com/python/cpython/pull/123502#event-14107505338
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
code ownerhttps://github.com/python/cpython/blob/33b790978d8b817a66a4a117a8c38a857b6103f0/.github/CODEOWNERS#L59
September 2, 2024 22:31https://github.com/python/cpython/pull/123502#event-14107505372
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Sep 2, 2024https://github.com/python/cpython/pull/123502#event-14107505502
vstinnerhttps://github.com/vstinner
September 3, 2024 00:33https://github.com/python/cpython/pull/123502#commits-pushed-96c4b08
https://github.com/vstinner
Cleanup header filehttps://github.com/python/cpython/pull/123502/commits/96c4b08754b620f55248563931978e5486a493f4
96c4b08https://github.com/python/cpython/pull/123502/commits/96c4b08754b620f55248563931978e5486a493f4
https://github.com/vstinner
Move documentation into init_config.rsthttps://github.com/python/cpython/pull/123502/commits/de3c5f360a4d9274ccb92068ec054381f17fedf8
de3c5f3https://github.com/python/cpython/pull/123502/commits/de3c5f360a4d9274ccb92068ec054381f17fedf8
https://github.com/vstinner
Document Error Handling earlierhttps://github.com/python/cpython/pull/123502/commits/27c21b9b9b61be3105dcd0b8db227a20aebff64a
27c21b9https://github.com/python/cpython/pull/123502/commits/27c21b9b9b61be3105dcd0b8db227a20aebff64a
https://github.com/vstinner
revert preconfig.c changeshttps://github.com/python/cpython/pull/123502/commits/43d844b353b52f097c1dc313f5e6a942c9dff0bf
43d844bhttps://github.com/python/cpython/pull/123502/commits/43d844b353b52f097c1dc313f5e6a942c9dff0bf
https://github.com/vstinner
config_spec_get_member() => config_get_spec_member()https://github.com/python/cpython/pull/123502/commits/516377489cba8ec489f43d73e93b61cfff12f0d0
5163774https://github.com/python/cpython/pull/123502/commits/516377489cba8ec489f43d73e93b61cfff12f0d0
https://github.com/vstinner
Check preconfig spec in PyInitConfig_HasOption()https://github.com/python/cpython/pull/123502/commits/2e37ac4158d470ff7b85b2c6381e75dab7fee92f
2e37ac4https://github.com/python/cpython/pull/123502/commits/2e37ac4158d470ff7b85b2c6381e75dab7fee92f
https://github.com/vstinner
Fix leak in PyInitConfig_GetStrList()https://github.com/python/cpython/pull/123502/commits/7e3e1aa52b94e804f6b07efb86d4c8328f1ceeca
7e3e1aahttps://github.com/python/cpython/pull/123502/commits/7e3e1aa52b94e804f6b07efb86d4c8328f1ceeca
https://github.com/vstinner
PyInitConfig_SetInt() uses switch/casehttps://github.com/python/cpython/pull/123502/commits/1d2725879671a0da2c431863e53329592b4aa607
1d27258https://github.com/python/cpython/pull/123502/commits/1d2725879671a0da2c431863e53329592b4aa607
https://github.com/vstinner
Fix comparisons in PyInitConfig_SetInt()https://github.com/python/cpython/pull/123502/commits/e171ca9c9fedff7eec2a8282b63e456ff686e1e4
e171ca9https://github.com/python/cpython/pull/123502/commits/e171ca9c9fedff7eec2a8282b63e456ff686e1e4
https://github.com/vstinner
Fix PyInitConfig_GetStr() dochttps://github.com/python/cpython/pull/123502/commits/d2609c2b7489c4f974a65314554b25054e7b98ec
d2609c2https://github.com/python/cpython/pull/123502/commits/d2609c2b7489c4f974a65314554b25054e7b98ec
https://github.com/vstinner
Reformat header filehttps://github.com/python/cpython/pull/123502/commits/7cecfbdb9c9d565e154f85283e46392918118884
7cecfbdhttps://github.com/python/cpython/pull/123502/commits/7cecfbdb9c9d565e154f85283e46392918118884
https://github.com/vstinner
Update dochttps://github.com/python/cpython/pull/123502/commits/5ae1b6976332d737d7f9e7881a511cdf92fe1b91
5ae1b69https://github.com/python/cpython/pull/123502/commits/5ae1b6976332d737d7f9e7881a511cdf92fe1b91
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
September 3, 2024 12:11https://github.com/python/cpython/pull/123502#event-14114215559
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
ef9d547https://github.com/python/cpython/commit/ef9d54703f1f21d2fde2fe3ef49d4cf7c8b38f06
Sep 3, 2024https://github.com/python/cpython/pull/123502#event-14114539368
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
September 3, 2024 12:33https://github.com/python/cpython/pull/123502#event-14114539580
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Sep 3, 2024https://github.com/python/cpython/pull/123502#event-14114540134
https://github.com/NekoAsakura
NekoAsakurahttps://github.com/NekoAsakura
Oct 30, 2026 https://github.com/python/cpython/pull/123502#ref-issue-6117284697
Null dereferencing of a pointer in initconfig.c #160962 https://github.com/python/cpython/issues/160962
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%2F123502
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
Please reload this pagehttps://github.com/python/cpython/pull/123502
Please reload this pagehttps://github.com/python/cpython/pull/123502
https://github.com/vstinner
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.