René's URL Explorer Experiment


Title: Remove unused imports (June 2026) · Issue #151428 · python/cpython · GitHub

Open Graph Title: Remove unused imports (June 2026) · Issue #151428 · python/cpython

X Title: Remove unused imports (June 2026) · Issue #151428 · python/cpython

Description: Feature or enhancement Proposal: There are several unused imports in Lib/ and Tools/, and I'm working on removing them. See #131152 as a precedent. Has this already been discussed elsewhere? This is a minor feature, which does not need p...

Open Graph Description: Feature or enhancement Proposal: There are several unused imports in Lib/ and Tools/, and I'm working on removing them. See #131152 as a precedent. Has this already been discussed elsewhere? This i...

X Description: Feature or enhancement Proposal: There are several unused imports in Lib/ and Tools/, and I'm working on removing them. See #131152 as a precedent. Has this already been discussed elsewhere? Th...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove unused imports (June 2026)","articleBody":"# Feature or enhancement\n\n### Proposal:\n\nThere are several unused imports in `Lib/` and `Tools/`, and I'm working on removing them. \n\nSee #131152 as a precedent.\n\n### Has this already been discussed elsewhere?\n\nThis is a minor feature, which does not need previous discussion elsewhere\n\n### Links to previous discussion of this feature:\n\n_No response_\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-151440\n* gh-151442\n* gh-151465\n* gh-151466\n* gh-151467\n* gh-151478\n* gh-152916\n* gh-152917\n* gh-152918\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/IvyXu420","@type":"Person","name":"IvyXu420"},"datePublished":"2026-06-13T05:34:41Z","url":"https://github.com/python/cpython/issues/151428"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1c3419cb-07c1-47b4-0fb9-849cd016eccc
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE1E6:A71F9:2FB9BEE:3C6EB39:6B01FA6C
html-safe-nonce5f5f768ddaec51cae0405386a28ba6bf05e9aeddd4bf1c957f03a709b4b2b5b8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUU2OkE3MUY5OjJGQjlCRUU6M0M2RUIzOTo2QjAxRkE2QyIsInZpc2l0b3JfaWQiOiI3ODE1MTg1NDMyMDQ3NjQ3MzQwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd6f3e92d58d52d2166b26c8fe040a2738edb4fc7a168849831c8bda36f988cda
hovercard-subject-tagissue:4654488008
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/151428/issue_layout
twitter:imagehttps://opengraph.githubassets.com/bc292ca41e72c4568799a465966b6ef5e9301f3c7e3a0bdb42c0519b2306e6b1/python/cpython/issues/151428
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bc292ca41e72c4568799a465966b6ef5e9301f3c7e3a0bdb42c0519b2306e6b1/python/cpython/issues/151428
og:image:altFeature or enhancement Proposal: There are several unused imports in Lib/ and Tools/, and I'm working on removing them. See #131152 as a precedent. Has this already been discussed elsewhere? This i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameIvyXu420
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/python/cpython/issues/151428#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F151428
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%2Fissues%2F151428
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/151428
Reloadhttps://github.com/python/cpython/issues/151428
Reloadhttps://github.com/python/cpython/issues/151428
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
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/151428
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/151428
Remove unused imports (June 2026)https://github.com/python/cpython/issues/151428#top
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
type-refactorCode refactoring (with no changes in behavior)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-refactor%22
https://github.com/IvyXu420
IvyXu420https://github.com/IvyXu420
on Jun 13, 2026https://github.com/python/cpython/issues/151428#issue-4654488008
#131152https://github.com/python/cpython/issues/131152
gh-151428: Remove unused imports from stdlib #151440https://github.com/python/cpython/pull/151440
gh-151428: Remove unused imports from Tools/ #151442https://github.com/python/cpython/pull/151442
[3.13] gh-151428: Remove unused imports in the stdlib (GH-151440) #151465https://github.com/python/cpython/pull/151465
[3.14] gh-151428: Remove unused imports in the stdlib (GH-151440) #151466https://github.com/python/cpython/pull/151466
[3.15] gh-151428: Remove unused imports in the stdlib (GH-151440) #151467https://github.com/python/cpython/pull/151467
gh-151428: Remove unused imports from stdlib #151478https://github.com/python/cpython/pull/151478
[3.15] gh-151428: Remove unused imports in idlelib.idle_test (GH-151478) #152916https://github.com/python/cpython/pull/152916
[3.14] gh-151428: Remove unused imports in idlelib.idle_test (GH-151478) (GH-152916) #152917https://github.com/python/cpython/pull/152917
[3.13] gh-151428: Remove unused imports in idlelib.idle_test (GH-151478) (GH-152916) #152918https://github.com/python/cpython/pull/152918
IvyXu420https://github.com/IvyXu420
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
on Jun 13, 2026https://github.com/python/cpython/issues/151428#event-26703841084
aiskhttps://github.com/aisk
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
on Jun 13, 2026https://github.com/python/cpython/issues/151428#event-26705663830
StanFromIrelandhttps://github.com/StanFromIreland
type-refactorCode refactoring (with no changes in behavior)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-refactor%22
type-featureA feature request or enhancementhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-feature%22
on Jun 13, 2026https://github.com/python/cpython/issues/151428#event-26705899639
hugovkhttps://github.com/hugovk
on Jun 13, 2026https://github.com/python/cpython/issues/151428#event-26706885533
StanFromIrelandhttps://github.com/StanFromIreland
on Jun 14, 2026https://github.com/python/cpython/issues/151428#event-26724924904
gh-151428: Remove unused imports in the stdlib (#151440)https://github.com/python/cpython/commit/a7885b46f153e9c6857342a4963edf342c86845e
gh-151428https://github.com/python/cpython/issues/151428
#151440https://github.com/python/cpython/pull/151440
a7885b4https://github.com/python/cpython/commit/a7885b46f153e9c6857342a4963edf342c86845e
sobolevnhttps://github.com/sobolevn
on Jun 14, 2026https://github.com/python/cpython/issues/151428#event-26725876886
gh-151428: Remove unused imports from `Tools/` (#151442)https://github.com/python/cpython/commit/1097b22fd92afa553d738983e078687441a1d7c4
gh-151428https://github.com/python/cpython/issues/151428
#151442https://github.com/python/cpython/pull/151442
1097b22https://github.com/python/cpython/commit/1097b22fd92afa553d738983e078687441a1d7c4
hugovkhttps://github.com/hugovk
on Jun 16, 2026https://github.com/python/cpython/issues/151428#event-26819073528
gh-151428: Remove unused imports from stdlib (#151478)https://github.com/python/cpython/commit/627adb517f71b16273845fa47acee72b2ea372a0
gh-151428https://github.com/python/cpython/issues/151428
#151478https://github.com/python/cpython/pull/151478
627adb5https://github.com/python/cpython/commit/627adb517f71b16273845fa47acee72b2ea372a0
philthompson10https://github.com/philthompson10
on Jun 17, 2026https://github.com/python/cpython/issues/151428#event-26873464908
pythongh-151428: Remove unused imports in the stdlib (python#151440)https://github.com/philthompson10/cpython/commit/cded199e14819160d79256121d3efc6a3c960af2
pythongh-151428https://github.com/python/cpython/issues/151428
python#151440https://github.com/python/cpython/pull/151440
cded199https://github.com/philthompson10/cpython/commit/cded199e14819160d79256121d3efc6a3c960af2
pythongh-151428: Remove unused imports from `Tools/` (python#151442)https://github.com/philthompson10/cpython/commit/6442abd441b98cce40f0b738932f7ea46d82147b
pythongh-151428https://github.com/python/cpython/issues/151428
python#151442https://github.com/python/cpython/pull/151442
6442abdhttps://github.com/philthompson10/cpython/commit/6442abd441b98cce40f0b738932f7ea46d82147b
pythongh-151428: Remove unused imports from stdlib (python#151478)https://github.com/philthompson10/cpython/commit/f7beda0a4eafc684865464a03b5717503545600c
pythongh-151428https://github.com/python/cpython/issues/151428
python#151478https://github.com/python/cpython/pull/151478
f7beda0https://github.com/philthompson10/cpython/commit/f7beda0a4eafc684865464a03b5717503545600c
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
on Jun 29, 2026https://github.com/python/cpython/issues/151428#issuecomment-4833186630
StanFromIrelandhttps://github.com/StanFromIreland
completedhttps://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jun 29, 2026https://github.com/python/cpython/issues/151428#event-27332002029
terryjreedyhttps://github.com/terryjreedy
on Jul 2, 2026https://github.com/python/cpython/issues/151428#event-27499998725
[3.15] gh-151428: Remove unused imports in idlelib.idle_test (GH-151478…https://github.com/python/cpython/commit/984ebbfeecaa8b614fd81ebac4460e301ffc8f08
gh-151428https://github.com/python/cpython/issues/151428
GH-151478https://github.com/python/cpython/pull/151478
984ebbfhttps://github.com/python/cpython/commit/984ebbfeecaa8b614fd81ebac4460e301ffc8f08
[3.13] gh-151428: Remove unused imports in idlelib.idle_test (GH-151478…https://github.com/python/cpython/commit/da2cb8f66231fb103ff83aa78f64c9744db1a207
gh-151428https://github.com/python/cpython/issues/151428
GH-151478https://github.com/python/cpython/pull/151478
da2cb8fhttps://github.com/python/cpython/commit/da2cb8f66231fb103ff83aa78f64c9744db1a207
[3.14] gh-151428: Remove unused imports in idlelib.idle_test (GH-151478…https://github.com/python/cpython/commit/8a2e34c9e002d85d81ed0f1c92cf7ed5c99a04ae
gh-151428https://github.com/python/cpython/issues/151428
GH-151478https://github.com/python/cpython/pull/151478
8a2e34chttps://github.com/python/cpython/commit/8a2e34c9e002d85d81ed0f1c92cf7ed5c99a04ae
Sign up for freehttps://github.com/signup?return_to=https://github.com/python/cpython/issues/151428
Sign in to commenthttps://github.com/login?return_to=https://github.com/python/cpython/issues/151428
stdlibStandard Library Python modules in the Lib/ directoryhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22stdlib%22
type-refactorCode refactoring (with no changes in behavior)https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-refactor%22
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.