René's URL Explorer Experiment


Title: Remove private stdlib helpers orphaned by past removals · Issue #150882 · python/cpython · GitHub

Open Graph Title: Remove private stdlib helpers orphaned by past removals · Issue #150882 · python/cpython

X Title: Remove private stdlib helpers orphaned by past removals · Issue #150882 · python/cpython

Description: Bug report / cleanup Two private helpers lost their last caller when a feature was removed and now sit unused. A word-boundary search across Lib, Modules, Python, Objects, and Include finds no reference to either outside its own definiti...

Open Graph Description: Bug report / cleanup Two private helpers lost their last caller when a feature was removed and now sit unused. A word-boundary search across Lib, Modules, Python, Objects, and Include finds no refe...

X Description: Bug report / cleanup Two private helpers lost their last caller when a feature was removed and now sit unused. A word-boundary search across Lib, Modules, Python, Objects, and Include finds no refe...

Opengraph URL: https://github.com/python/cpython/issues/150882

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove private stdlib helpers orphaned by past removals","articleBody":"# Bug report / cleanup\n\nTwo private helpers lost their last caller when a feature was removed and now sit unused. A word-boundary search across `Lib`, `Modules`, `Python`, `Objects`, and `Include` finds no reference to either outside its own definition, and a GitHub code search finds no downstream importer.\n\n## `shutil._ensure_directory(path)`\n\n- #8295 added it with `shutil.unpack_archive()` to create the parent directory of each extracted member.\n- GH-146591 (gh-146581), the ZIP path-traversal fix, reworked `_unpack_zipfile()` to create directories inline and deleted the last `_ensure_directory(targetpath)` call.\n\n## `importlib._bootstrap._object_name(obj)`\n\n- GH-23469 (bpo-26131) added it to render an object's qualified name inside the `load_module()` deprecation warnings.\n- GH-97850 (gh-142205) removed `load_module()` and its warnings, deleting the last call site.\n\nI will open one PR per module. Both removals keep the existing test suites green (`test_shutil`, `test_importlib`).\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-150883\n* gh-150884\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/gaborbernat","@type":"Person","name":"gaborbernat"},"datePublished":"2026-06-03T19:40:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/150882/cpython/issues/150882"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:ed81f540-598a-2d1f-0277-0334d46b1166
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBA1A:3DA7AC:60E946:8415CA:6A55A1DA
html-safe-nonce404aecfd2379561ce5b4ba66359a36e44500fc42672df0d3cd8218734d19caa2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTFBOjNEQTdBQzo2MEU5NDY6ODQxNUNBOjZBNTVBMURBIiwidmlzaXRvcl9pZCI6Ijc2NTYwMzY4NTc2OTcxMTY2MzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd13d9b30a0c58a30422a097723f631169e6a7cd6c9f4aa78d6e5f0c4e7346bd3
hovercard-subject-tagissue:4583078123
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/150882/issue_layout
twitter:imagehttps://opengraph.githubassets.com/545f821cd174b507785fc6cdb956e880962c0bc927d71017d340b44e1b19deea/python/cpython/issues/150882
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/545f821cd174b507785fc6cdb956e880962c0bc927d71017d340b44e1b19deea/python/cpython/issues/150882
og:image:altBug report / cleanup Two private helpers lost their last caller when a feature was removed and now sit unused. A word-boundary search across Lib, Modules, Python, Objects, and Include finds no refe...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegaborbernat
hostnamegithub.com
expected-hostnamegithub.com
Noneb5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e
turbo-cache-controlno-preview
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
release653fccf1e27344851c0d3de3fa6faa526197f072
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/issues/150882#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F150882
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%2Fissues%2F150882
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%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/150882
Reloadhttps://github.com/python/cpython/issues/150882
Reloadhttps://github.com/python/cpython/issues/150882
Please reload this pagehttps://github.com/python/cpython/issues/150882
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/issues/150882
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
Remove private stdlib helpers orphaned by past removalshttps://github.com/python/cpython/issues/150882#top
https://github.com/gaborbernat
gaborbernathttps://github.com/gaborbernat
on Jun 3, 2026https://github.com/python/cpython/issues/150882#issue-4583078123
[3.6] bpo-33967: Remove use of deprecated assertRaisesRegexp() (GH-8261) #8295https://github.com/python/cpython/pull/8295
gh-146581: Fix vulnerability in shutil.unpack_archive() for ZIP files on Windows #146591https://github.com/python/cpython/pull/146591
shutil.unpack_archive() on Windows writes outside extract_dir for ZIP entries with drive-prefixed names #146581https://github.com/python/cpython/issues/146581
gh-70319: Deprecate usage of load_module() #23469https://github.com/python/cpython/pull/23469
bpo-26131https://bugs.python.org/issue?@action=redirect&bpo=26131
Meta issue for cleaning up import system cruft #97850https://github.com/python/cpython/issues/97850
GH-97850: Remove all uses and definitions of load_module() from importlib #142205https://github.com/python/cpython/pull/142205
gh-150885: Remove unused shutil._ensure_directory #150883https://github.com/python/cpython/pull/150883
gh-150886: Remove unused importlib._bootstrap._object_name #150884https://github.com/python/cpython/pull/150884
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.