René's URL Explorer Experiment


Title: gh-133644: remove deprecated global configuration variables by picnixz · Pull Request #133654 · python/cpython · GitHub

Open Graph Title: gh-133644: remove deprecated global configuration variables by picnixz · Pull Request #133654 · python/cpython

X Title: gh-133644: remove deprecated global configuration variables by picnixz · Pull Request #133654 · python/cpython

Description: Ok, this one is really tricky and I really need more eyes to be sure about it, namely @vstinner's eyes. There are two global configuration variables that were marked as deprecated but not explicitly slated for removal in the docs, namely Py_UTF8Mode and Py_InteractiveFlag. As such, I've left them untouched. They were however mentioned in the "pending removals" documents so I don't know if we can just remove them (note that users are more likely to land on the C API page rather than the what's new page when they are looking for docs). I'll write a NEWS entry afterwards. Issue: gh-133644 📚 Documentation preview 📚: https://cpython-previews--133654.org.readthedocs.build/

Open Graph Description: Ok, this one is really tricky and I really need more eyes to be sure about it, namely @vstinner's eyes. There are two global configuration variables that were marked as deprecated but not expli...

X Description: Ok, this one is really tricky and I really need more eyes to be sure about it, namely @vstinner's eyes. There are two global configuration variables that were marked as deprecated but not e...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:69777d05-4712-8d89-7e13-8e206037b3af
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBD9C:30A1AE:15B834B:1CE0396:6A543833
html-safe-nonce08ea2621427a2fbbd8329dd27b3f8a2034dcc934a1eeac4f67cb2758d7b847d3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDlDOjMwQTFBRToxNUI4MzRCOjFDRTAzOTY6NkE1NDM4MzMiLCJ2aXNpdG9yX2lkIjoiNjYzNjAxNDI4NTYxMjEzNjQ5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacf9815aae3ae3b69d03b2ed5d5f349cb70440a8e82e1aebdd437aeef80c8989b4
hovercard-subject-tagpull_request:2506680733
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/133654/files
twitter:imagehttps://avatars.githubusercontent.com/u/10796600?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/10796600?s=400&v=4
og:image:altOk, this one is really tricky and I really need more eyes to be sure about it, namely @vstinner's eyes. There are two global configuration variables that were marked as deprecated but not expli...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
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
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/133654/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F133654%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F133654%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/133654/files
Reloadhttps://github.com/python/cpython/pull/133654/files
Reloadhttps://github.com/python/cpython/pull/133654/files
Please reload this pagehttps://github.com/python/cpython/pull/133654/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/133654/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 35k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k 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.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
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 and quality 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
picnixzhttps://github.com/picnixz
python:mainhttps://github.com/python/cpython/tree/main
picnixz:cleanup/315/deprecated-globals-133644https://github.com/picnixz/cpython/tree/cleanup/315/deprecated-globals-133644
Conversation 25 https://github.com/python/cpython/pull/133654
Commits 30 https://github.com/python/cpython/pull/133654/commits
Checks 20 https://github.com/python/cpython/pull/133654/checks
Files changed https://github.com/python/cpython/pull/133654/files
Please reload this pagehttps://github.com/python/cpython/pull/133654/files
gh-133644: remove deprecated global configuration variables https://github.com/python/cpython/pull/133654/files#top
Show all changes 30 commits https://github.com/python/cpython/pull/133654/files
12f494a remove `Py_BytesWarningFlag` picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/12f494a17016ba66c7f87fb79d915a64f526ebea
a6467f8 remove `Py_DebugFlag` picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/a6467f8f86ef3f54717e1be78fa508ec80d035fb
df48806 remove `Py_VerboseFlag` picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/df48806208b2e8948ffbfe15df6e75e709ef121e
cfabb22 remove `Py_QuietFlag` picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/cfabb228408004fe68416664ddc5465065625dba
71bca31 remove `Py_InspectFlag` picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/71bca31c824e0e881b36713aac50337c9acd3f5b
7ebf7bd remove `Py_OptimizeFlag` picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/7ebf7bd466d993560dc65bf6aed70786b9f9aae9
2d05afe remove `Py_NoSiteFlag` picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/2d05afe159f907063df59f312505882df95669ce
2a8e546 remove `Py_FrozenFlag` picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/2a8e54678e2b21b199f7364605be4ae66ccd79cb
93eee09 remove `Py_IgnoreEnvironmentFlag` picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/93eee09d4c4cc9c0d80a7d6a31177c7cfb0ff449
311f95c remove `Py_DontWriteBytecodeFlag` picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/311f95c8d82094d60fc3a1e86d41ee246397b233
f5b39db remove `Py_NoUserSiteDirectory` picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/f5b39db566247c9e68458f3d323fb360fb188fb4
c66edb3 remove `Py_UnbufferedStdioFlag` picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/c66edb3056be3b1ea800aea9247cc50ed7a5f462
9116a65 remove `Py_HashRandomizationFlag` picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/9116a65fabf4b308213106aacd49a44741af9423
fb2a247 remove `Py_IsolatedFlag` picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/fb2a247c9b9e33e0f1f5a330be31d8ea41359e8f
86c0c87 remove `Py_LegacyWindowsFSEncodingFlag` picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/86c0c87cec4725f671552b14ca8575972a6e442d
eab9e01 remove `Py_LegacyWindowsStdioFlag` picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/eab9e010e3e6c008eb3e78c16b9ce380d792b431
54ff2aa remove `Py_FileSystemDefaultEncoding` and `Py_HasFileSystemDefaultEnc… picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/54ff2aac82167bc3e806caf6550b426f8bfa51b3
9a322fe remove `Py_FileSystemDefaultEncodeErrors` picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/9a322feddffc9f48080f7869ca96226333b990ed
d4ff0f7 fix test_embed picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/d4ff0f7781d943257663693ece6441eb72a253a5
5d59540 blurb picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/5d59540031ca24bbde80882f7098d4a0aa3daa95
eef039e update What's New entries picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/eef039e4c28d42f1cffbfeb5aaa28299621375a2
1248cea update docs picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/1248cea921ab146f90aea8515ec89ddd3814ce88
583bafb update docutils refs picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/583bafb9289f971164da6c3112e4c293094208fe
daa1e2d fixup picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/daa1e2d5ea7bfeff34ecf2d88435fc113dbd2db3
6c7baa2 revert `putenv` statements picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/6c7baa285416433e6c9b52ade2d8fc3115338fad
d9f4def restore file picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/d9f4def6f424a09586c917aa0d8738d446d699be
279ac00 update stable ABI symbols picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/279ac003c49af4ed223def53325af77a0feadc42
cddebbe revert runtime changes for now picnixz May 8, 2025 https://github.com/python/cpython/pull/133654/commits/cddebbeee651a6e4aa3e02a46f0761094a7907ce
b8afe23 Merge remote-tracking branch 'upstream/main' into cleanup/315/depreca… picnixz May 9, 2025 https://github.com/python/cpython/pull/133654/commits/b8afe23cff5c7b0fa1b9eba869eb77b34755aedb
8a2173f Merge remote-tracking branch 'upstream/main' into cleanup/315/depreca… picnixz Jun 2, 2025 https://github.com/python/cpython/pull/133654/commits/8a2173f1be9d0341c05dc493f56f46453294038d
Clear filters https://github.com/python/cpython/pull/133654/files
Please reload this pagehttps://github.com/python/cpython/pull/133654/files
Please reload this pagehttps://github.com/python/cpython/pull/133654/files
init.rst https://github.com/python/cpython/pull/133654/files#diff-41fc528d7972e974b1da5b110ac23586c0251c19c63575f7d1fe7414c85ca50a
c-api-pending-removal-in-3.15.rst https://github.com/python/cpython/pull/133654/files#diff-4a8fbbc0bd04912d24e89c7f4add829e6059ce448052a7740846fe971636103e
3.12.rst https://github.com/python/cpython/pull/133654/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b
3.15.rst https://github.com/python/cpython/pull/133654/files#diff-bd7a9c5b54eeb2b40e6db5e48e8d79d309d8738e776a40918773c6840189edf9
3.7.rst https://github.com/python/cpython/pull/133654/files#diff-830b405713d1c40982ffa918864e39c40c1b318d79b8dd2b523646dc3bd18b52
3.12.0a1.rst https://github.com/python/cpython/pull/133654/files#diff-ad306eaab9bed5fe3443f62dfc73bb87c4d1a2d5a2ebb0c21a1ac80e455ccf04
2025-05-08-12-16-11.gh-issue-133644.Zsvz26.rst https://github.com/python/cpython/pull/133654/files#diff-696908f821267dd2ed0b93f00ea0be370afaee6561e8fc69cd4e543125a145fb
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L114
Doc/c-api/init.rsthttps://github.com/python/cpython/pull/133654/files#diff-41fc528d7972e974b1da5b110ac23586c0251c19c63575f7d1fe7414c85ca50a
View file https://github.com/python/cpython/blob/8a2173f1be9d0341c05dc493f56f46453294038d/Doc/c-api/init.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/133654/{{ revealButtonHref }}
https://github.com/python/cpython/pull/133654/files#diff-41fc528d7972e974b1da5b110ac23586c0251c19c63575f7d1fe7414c85ca50a
https://github.com/python/cpython/pull/133654/files#diff-41fc528d7972e974b1da5b110ac23586c0251c19c63575f7d1fe7414c85ca50a
https://github.com/python/cpython/pull/133654/files#diff-41fc528d7972e974b1da5b110ac23586c0251c19c63575f7d1fe7414c85ca50a
https://github.com/python/cpython/pull/133654/files#diff-41fc528d7972e974b1da5b110ac23586c0251c19c63575f7d1fe7414c85ca50a
https://github.com/python/cpython/pull/133654/files#diff-41fc528d7972e974b1da5b110ac23586c0251c19c63575f7d1fe7414c85ca50a
Doc/deprecations/c-api-pending-removal-in-3.15.rsthttps://github.com/python/cpython/pull/133654/files#diff-4a8fbbc0bd04912d24e89c7f4add829e6059ce448052a7740846fe971636103e
View file https://github.com/python/cpython/blob/8a2173f1be9d0341c05dc493f56f46453294038d/Doc/deprecations/c-api-pending-removal-in-3.15.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/133654/{{ revealButtonHref }}
https://github.com/python/cpython/pull/133654/files#diff-4a8fbbc0bd04912d24e89c7f4add829e6059ce448052a7740846fe971636103e
https://github.com/python/cpython/pull/133654/files#diff-4a8fbbc0bd04912d24e89c7f4add829e6059ce448052a7740846fe971636103e
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L116
Doc/whatsnew/3.12.rsthttps://github.com/python/cpython/pull/133654/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b
View file https://github.com/python/cpython/blob/8a2173f1be9d0341c05dc493f56f46453294038d/Doc/whatsnew/3.12.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/133654/{{ revealButtonHref }}
https://github.com/python/cpython/pull/133654/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b
https://github.com/python/cpython/pull/133654/files#diff-0f2c1763c64530268325a0ee2dfaa4f5d555c4ac27deb78bd77102c8ce1b886b
Please reload this pagehttps://github.com/python/cpython/pull/133654/files
Please reload this pagehttps://github.com/python/cpython/pull/133654/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.