| react-profiling | 0 |
| react-import-map | react,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-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:bca80aa2-1751-14fc-7740-2390e72be97d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9444:1D20B7:41438E4:527E6ED:6B025400 |
| html-safe-nonce | 3dd02f28a0c94cbc987a44c88199a202ffa748954b1c1af022521ec6d148c851 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NDQ0OjFEMjBCNzo0MTQzOEU0OjUyN0U2RUQ6NkIwMjU0MDAiLCJ2aXNpdG9yX2lkIjoiMzIxMzc1ODk2OTUwMzk2MjExMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9c7dced1ce294915e52ed1599a0cd9f961b4527fe8160b6a420ef54fe5b6f953 |
| hovercard-subject-tag | pull_request:2044189710 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/123472/files |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | 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 ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/123472/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F123472%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F123472%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 |
| Reload | https://github.com/python/cpython/pull/123472/files |
| Reload | https://github.com/python/cpython/pull/123472/files |
| Reload | https://github.com/python/cpython/pull/123472/files |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | 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/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| vstinner | https://github.com/vstinner |
| python:main | https://github.com/python/cpython/tree/main |
| vstinner:config_get | https://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 page | https://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 page | https://github.com/python/cpython/pull/123472/files |
| Please reload this page | https://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.rst | https://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 page | https://github.com/python/cpython/pull/123472/files |
| Please reload this page | https://github.com/python/cpython/pull/123472/files |
| Please reload this page | https://github.com/python/cpython/pull/123472/files |
| picnixz | https://github.com/picnixz |
| Aug 30, 2024 | https://github.com/python/cpython/pull/123472/files#r1738915577 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/123472/files |
| vstinner | https://github.com/vstinner |
| Aug 30, 2024 | https://github.com/python/cpython/pull/123472/files#r1739419206 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/123472/files |
| picnixz | https://github.com/picnixz |
| Aug 31, 2024 | https://github.com/python/cpython/pull/123472/files#r1739635059 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://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.rst | https://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.h | https://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.h | https://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.h | https://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.py | https://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 page | https://github.com/python/cpython/pull/123472/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |