René's URL Explorer Experiment


Title: gh-107954, PEP 741: Add PyConfig_Get() function by vstinner · Pull Request #123472 · python/cpython · GitHub

Open Graph Title: gh-107954, PEP 741: Add PyConfig_Get() function by vstinner · Pull Request #123472 · python/cpython

X Title: gh-107954, PEP 741: Add PyConfig_Get() function by vstinner · Pull Request #123472 · python/cpython

Description: Add PyConfig_Get(), PyConfig_GetInt(), PyConfig_Set() and PyConfig_Names() functions to get and set the current runtime Python configuration. _PyConfig_AsDict() now converts PyConfig.xoptions as a dictionary. Issue: gh-107954 📚 Documentation preview 📚: https://cpython-previews--123472.org.readthedocs.build/

Open Graph Description: Add PyConfig_Get(), PyConfig_GetInt(), PyConfig_Set() and PyConfig_Names() functions to get and set the current runtime Python configuration. _PyConfig_AsDict() now converts PyConfig.xoptions as a ...

X Description: Add PyConfig_Get(), PyConfig_GetInt(), PyConfig_Set() and PyConfig_Names() functions to get and set the current runtime Python configuration. _PyConfig_AsDict() now converts PyConfig.xoptions as a ...

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

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:bca80aa2-1751-14fc-7740-2390e72be97d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9444:1D20B7:41438E4:527E6ED:6B025400
html-safe-nonce3dd02f28a0c94cbc987a44c88199a202ffa748954b1c1af022521ec6d148c851
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDQ0OjFEMjBCNzo0MTQzOEU0OjUyN0U2RUQ6NkIwMjU0MDAiLCJ2aXNpdG9yX2lkIjoiMzIxMzc1ODk2OTUwMzk2MjExMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac9c7dced1ce294915e52ed1599a0cd9f961b4527fe8160b6a420ef54fe5b6f953
hovercard-subject-tagpull_request:2044189710
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/123472/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:altAdd PyConfig_Get(), PyConfig_GetInt(), PyConfig_Set() and PyConfig_Names() functions to get and set the current runtime Python configuration. _PyConfig_AsDict() now converts PyConfig.xoptions as a ...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/123472/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F123472%2Ffiles
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%2F123472%2Ffiles
Sign uphttps://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/123472/files
Reloadhttps://github.com/python/cpython/pull/123472/files
Reloadhttps://github.com/python/cpython/pull/123472/files
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
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:config_gethttps://github.com/vstinner/cpython/tree/config_get
Conversation 50 https://github.com/python/cpython/pull/123472
Commits 18 https://github.com/python/cpython/pull/123472/commits
Checks 0 https://github.com/python/cpython/pull/123472/checks
Files changed https://github.com/python/cpython/pull/123472/files
Please reload this pagehttps://github.com/python/cpython/pull/123472/files
gh-107954, PEP 741: Add PyConfig_Get() function https://github.com/python/cpython/pull/123472/files#top
Show all changes 18 commits https://github.com/python/cpython/pull/123472/files
4c79a52 gh-107954, PEP 741: Add PyConfig_Get() function vstinner Dec 1, 2023 https://github.com/python/cpython/pull/123472/commits/4c79a520b434ac082b0b823d90d382545b0cbd9b
988dca5 Test enable_gil option vstinner Aug 29, 2024 https://github.com/python/cpython/pull/123472/commits/988dca51fb999fb6f12b3ca19866d1b26aaee1e4
2d592a6 Fix make check-c-globals vstinner Aug 29, 2024 https://github.com/python/cpython/pull/123472/commits/2d592a6ee53fc30079e7a865d8bd3770e7afd7f4
4e0951e Merge branch 'main' into config_get vstinner Aug 30, 2024 https://github.com/python/cpython/pull/123472/commits/4e0951e381f83b32486a00bb21525b7f9e893edf
edc9974 Update Doc/c-api/init_config.rst vstinner Aug 30, 2024 https://github.com/python/cpython/pull/123472/commits/edc99742aef84e02d3711c8c1f882ddf9be16d98
4616b52 Update Doc/c-api/init_config.rst vstinner Aug 30, 2024 https://github.com/python/cpython/pull/123472/commits/4616b52a4771eeb4010b415a83c8d64b7219217b
135d862 Update Modules/_testcapi/config.c vstinner Aug 30, 2024 https://github.com/python/cpython/pull/123472/commits/135d86252513345a9ba4cdecf0b67c4f47f041ed
2324465 Update Python/initconfig.c vstinner Aug 30, 2024 https://github.com/python/cpython/pull/123472/commits/23244650742e18e789ffde301bd90b5b71d81d22
0c20c8a Update Python/initconfig.c vstinner Aug 30, 2024 https://github.com/python/cpython/pull/123472/commits/0c20c8a14934479d8ae107865e240f8fe1f3accc
67210db Apply suggestions from code review vstinner Aug 30, 2024 https://github.com/python/cpython/pull/123472/commits/67210db6f79bdba98dcceb69694525276a795aa9
262738f Address Bénédikt's review vstinner Aug 30, 2024 https://github.com/python/cpython/pull/123472/commits/262738f3c7ff1685e256e80df662534908aa3e87
fcf0918 Change SPEC() macro for the visibility vstinner Aug 30, 2024 https://github.com/python/cpython/pull/123472/commits/fcf0918b0aa55ce965f793a5d571ce5e0f2c3541
a39857e Complete test_config_get_sys_flags() vstinner Sep 2, 2024 https://github.com/python/cpython/pull/123472/commits/a39857ed87a03f879a72779a18b49d6081fa73a6
2014c52 Revert test_cmd_line.py changes vstinner Sep 2, 2024 https://github.com/python/cpython/pull/123472/commits/2014c52f1d8c0fa260445785ba4a1506d58a5ac4
4a3595c Check pos argument in sys_set_flag() vstinner Sep 2, 2024 https://github.com/python/cpython/pull/123472/commits/4a3595cdb9cc9ee2452f3928c22223cc4dd38314
8c321f1 Cleanup initconfig.c vstinner Sep 2, 2024 https://github.com/python/cpython/pull/123472/commits/8c321f1e8a2efe9bf58ce8f3d5326f5dbbcec5cd
1556b95 Merge branch 'main' into config_get vstinner Sep 2, 2024 https://github.com/python/cpython/pull/123472/commits/1556b9514833f243e4bde5843a47411c07d9236b
b655e93 Fix sys_set_flag() assertion vstinner Sep 2, 2024 https://github.com/python/cpython/pull/123472/commits/b655e938a66813f3e88c789e04b20ffc1dc0b9b2
Clear filters https://github.com/python/cpython/pull/123472/files
Please reload this pagehttps://github.com/python/cpython/pull/123472/files
Please reload this pagehttps://github.com/python/cpython/pull/123472/files
init_config.rst https://github.com/python/cpython/pull/123472/files#diff-283c61ee582a6dbb765f3a03a57930c2b6e4948a67464e50b6fec3d80a12df1f
3.14.rst https://github.com/python/cpython/pull/123472/files#diff-24e6cbe61d91e61059c44a7cf5f712499a11eb47a82d5f1a8db16ec7f9023c31
initconfig.h https://github.com/python/cpython/pull/123472/files#diff-35a650b0af7753c2aee8a2a7512fe62158d8b7150bf79ebf1c32201b00cc5124
pycore_initconfig.h https://github.com/python/cpython/pull/123472/files#diff-18955faf9bcc909d91ecdd289135e41643c0c499eb5039424c26ee6f18be53f7
pycore_sysmodule.h https://github.com/python/cpython/pull/123472/files#diff-225387339c11eba754f81eebf96b1e5e2d050bce71d252b06afb3860059194fa
_test_embed_set_config.py https://github.com/python/cpython/pull/123472/files#diff-b7fe11424d0bbf1a489b20290315d854a3170c0d3973652d6b6dea0390191d2d
test_config.py https://github.com/python/cpython/pull/123472/files#diff-6d447bbdd654d28c3835f8c580f223ef8a356e6991640720d44969a0fc6b6f9f
test_embed.py https://github.com/python/cpython/pull/123472/files#diff-573be25566e43f5adc6650ad1b58d106dbbd79521cb9c6e6d5df9588616a1ffd
2024-08-29-15-55-55.gh-issue-107954.pr2O50.rst https://github.com/python/cpython/pull/123472/files#diff-dbe24bba8cfa0878d337b45638354a64f293a52a49bc0e7eb8d74b29fde0c24b
Setup.stdlib.in https://github.com/python/cpython/pull/123472/files#diff-93b54a98829ea89eaf6335c02f546511f7780d865131407436b10a401ecd375c
config.c https://github.com/python/cpython/pull/123472/files#diff-16d658b2917fbd3c66922b76cd9e942dfa34677b28fb3b22a52a4ff226daaff3
parts.h https://github.com/python/cpython/pull/123472/files#diff-cda7cf7eb449238a999023ecd2b9e421c402b83d4ab7a16d2bf9cce68dad32ba
_testcapimodule.c https://github.com/python/cpython/pull/123472/files#diff-b2d7540efa4f376350ef77b923a6dfcc54bb90424970477f66275f19bad0d30f
_testcapi.vcxproj https://github.com/python/cpython/pull/123472/files#diff-84a64a18e83c2b6057a2eb75ee9c6bf2695a4948b62f8bd268a0f4f46d774830
_testcapi.vcxproj.filters https://github.com/python/cpython/pull/123472/files#diff-5772d42704a7c3ceafeaabcda5f995cb70bd48acd70c9c4d2e5bf2319a706bb3
initconfig.c https://github.com/python/cpython/pull/123472/files#diff-bde30a9f2283aadeea54d703778ec8edf01c71bac3cfe6479035fc13ddc3296b
sysmodule.c https://github.com/python/cpython/pull/123472/files#diff-a3a5c73931235f7f344c072dc755d6508e13923db3f5d581c5e88652075871cb
_parser.py https://github.com/python/cpython/pull/123472/files#diff-a32c97f81605e5323c7f7924188ab3091d37165763f6a36ec9f0a704f1581bb8
ignored.tsv https://github.com/python/cpython/pull/123472/files#diff-fa2373a9a002e491408e623369773045f4b7de90114b9f5ba6933bfbf2d8c45c
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L282
Doc/c-api/init_config.rsthttps://github.com/python/cpython/pull/123472/files#diff-283c61ee582a6dbb765f3a03a57930c2b6e4948a67464e50b6fec3d80a12df1f
View file https://github.com/vstinner/cpython/blob/b655e938a66813f3e88c789e04b20ffc1dc0b9b2/Doc/c-api/init_config.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/123472/{{ revealButtonHref }}
https://github.com/python/cpython/pull/123472/files#diff-283c61ee582a6dbb765f3a03a57930c2b6e4948a67464e50b6fec3d80a12df1f
Please reload this pagehttps://github.com/python/cpython/pull/123472/files
Please reload this pagehttps://github.com/python/cpython/pull/123472/files
Please reload this pagehttps://github.com/python/cpython/pull/123472/files
picnixzhttps://github.com/picnixz
Aug 30, 2024https://github.com/python/cpython/pull/123472/files#r1738915577
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/123472/files
vstinnerhttps://github.com/vstinner
Aug 30, 2024https://github.com/python/cpython/pull/123472/files#r1739419206
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/123472/files
picnixzhttps://github.com/picnixz
Aug 31, 2024https://github.com/python/cpython/pull/123472/files#r1739635059
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/123472/files
https://github.com/python/cpython/pull/123472/files#diff-283c61ee582a6dbb765f3a03a57930c2b6e4948a67464e50b6fec3d80a12df1f
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L116
Doc/whatsnew/3.14.rsthttps://github.com/python/cpython/pull/123472/files#diff-24e6cbe61d91e61059c44a7cf5f712499a11eb47a82d5f1a8db16ec7f9023c31
View file https://github.com/vstinner/cpython/blob/b655e938a66813f3e88c789e04b20ffc1dc0b9b2/Doc/whatsnew/3.14.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/123472/{{ revealButtonHref }}
https://github.com/python/cpython/pull/123472/files#diff-24e6cbe61d91e61059c44a7cf5f712499a11eb47a82d5f1a8db16ec7f9023c31
https://github.com/python/cpython/pull/123472/files#diff-24e6cbe61d91e61059c44a7cf5f712499a11eb47a82d5f1a8db16ec7f9023c31
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L278
Include/cpython/initconfig.hhttps://github.com/python/cpython/pull/123472/files#diff-35a650b0af7753c2aee8a2a7512fe62158d8b7150bf79ebf1c32201b00cc5124
View file https://github.com/vstinner/cpython/blob/b655e938a66813f3e88c789e04b20ffc1dc0b9b2/Include/cpython/initconfig.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/123472/{{ revealButtonHref }}
https://github.com/python/cpython/pull/123472/files#diff-35a650b0af7753c2aee8a2a7512fe62158d8b7150bf79ebf1c32201b00cc5124
https://github.com/python/cpython/pull/123472/files#diff-35a650b0af7753c2aee8a2a7512fe62158d8b7150bf79ebf1c32201b00cc5124
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L278
Include/internal/pycore_initconfig.hhttps://github.com/python/cpython/pull/123472/files#diff-18955faf9bcc909d91ecdd289135e41643c0c499eb5039424c26ee6f18be53f7
View file https://github.com/vstinner/cpython/blob/b655e938a66813f3e88c789e04b20ffc1dc0b9b2/Include/internal/pycore_initconfig.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/123472/{{ revealButtonHref }}
https://github.com/python/cpython/pull/123472/files#diff-18955faf9bcc909d91ecdd289135e41643c0c499eb5039424c26ee6f18be53f7
https://github.com/python/cpython/pull/123472/files#diff-18955faf9bcc909d91ecdd289135e41643c0c499eb5039424c26ee6f18be53f7
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L244
Include/internal/pycore_sysmodule.hhttps://github.com/python/cpython/pull/123472/files#diff-225387339c11eba754f81eebf96b1e5e2d050bce71d252b06afb3860059194fa
View file https://github.com/vstinner/cpython/blob/b655e938a66813f3e88c789e04b20ffc1dc0b9b2/Include/internal/pycore_sysmodule.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/123472/{{ revealButtonHref }}
https://github.com/python/cpython/pull/123472/files#diff-225387339c11eba754f81eebf96b1e5e2d050bce71d252b06afb3860059194fa
https://github.com/python/cpython/pull/123472/files#diff-225387339c11eba754f81eebf96b1e5e2d050bce71d252b06afb3860059194fa
Lib/test/_test_embed_set_config.pyhttps://github.com/python/cpython/pull/123472/files#diff-b7fe11424d0bbf1a489b20290315d854a3170c0d3973652d6b6dea0390191d2d
View file https://github.com/vstinner/cpython/blob/b655e938a66813f3e88c789e04b20ffc1dc0b9b2/Lib/test/_test_embed_set_config.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/123472/{{ revealButtonHref }}
https://github.com/python/cpython/pull/123472/files#diff-b7fe11424d0bbf1a489b20290315d854a3170c0d3973652d6b6dea0390191d2d
https://github.com/python/cpython/pull/123472/files#diff-b7fe11424d0bbf1a489b20290315d854a3170c0d3973652d6b6dea0390191d2d
https://github.com/python/cpython/pull/123472/files#diff-b7fe11424d0bbf1a489b20290315d854a3170c0d3973652d6b6dea0390191d2d
https://github.com/python/cpython/pull/123472/files#diff-b7fe11424d0bbf1a489b20290315d854a3170c0d3973652d6b6dea0390191d2d
https://github.com/python/cpython/pull/123472/files#diff-b7fe11424d0bbf1a489b20290315d854a3170c0d3973652d6b6dea0390191d2d
Please reload this pagehttps://github.com/python/cpython/pull/123472/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.