# 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 previous discussion elsewhere ### Links to previous discussion of this feature: _No response_ <!-- gh-linked-prs --> ### Linked PRs * gh-151440 * gh-151442 * gh-151465 * gh-151466 * gh-151467 * gh-151478 * gh-152916 * gh-152917 * gh-152918 <!-- /gh-linked-prs -->
Activity
[-]Remove unused imports[/-][+]Remove unused imports (June 2026)[/+]gh-151428: Remove unused imports in the stdlib (#151440)
gh-151428: Remove unused imports from `Tools/` (#151442)
gh-151428: Remove unused imports from stdlib (#151478)
pythongh-151428: Remove unused imports in the stdlib (python#151440)
pythongh-151428: Remove unused imports from `Tools/` (python#151442)
pythongh-151428: Remove unused imports from stdlib (python#151478)
StanFromIreland commentedon Jun 29, 2026
I think we caught them all, if not please comment and I'll re-open.
[3.15] gh-151428: Remove unused imports in idlelib.idle_test (GH-151478…
[3.13] gh-151428: Remove unused imports in idlelib.idle_test (GH-151478…
[3.14] gh-151428: Remove unused imports in idlelib.idle_test (GH-151478…