Using pyflakes or ruff, I found unused imports and I created this issue to remove them. <!-- gh-linked-prs --> ### Linked PRs * gh-120420 * gh-120421 * gh-120429 * gh-120454 * gh-120461 * gh-120574 * gh-120622 * gh-120623 * gh-120626 * gh-120627 * gh-120628 * gh-120629 * gh-120630 * gh-120631 * gh-120632 * gh-120679 * gh-120680 <!-- /gh-linked-prs -->
Activity
pythongh-120417: Remove unused imports in the stdlib
pythongh-120417: Remove unused imports in the stdlib
pythongh-120417: Add #noqa to used imports to prevent warnings
pythongh-120417: Add #noqa to used imports in the stdlib
pythongh-120417: Add #noqa to used imports in the stdlib
pythongh-120417: Add #noqa to used imports in the stdlib
gh-120417: Remove unused imports in the stdlib (#120420)
pythongh-120417: Remove unused imports in the stdlib (pythonGH-120420)
[3.13] gh-120417: Remove unused imports in the stdlib (GH-120420) (#1…
gh-120417: Add #noqa to used imports in the stdlib (#120421)
pythongh-120417: Add more #noqa to used imports in the stdlib
pythongh-120417: Fix "imported but unused" linter warnings
gh-120417: Fix "imported but unused" linter warnings (#120461)
[3.12] pythongh-120417: Remove unused import in idlelib (pythonGH-120420
[3.12] gh-120417: Remove unused import in idlelib (GH-120420) (#120574)
60 remaining items
pythongh-120417: Use import_helper() in test_regrtest (python#120680)
pythongh-120417: Add #noqa: F401 to tests (python#120627)
pythongh-120417: Remove unused imports in the stdlib (python#120420)
pythongh-120417: Add #noqa to used imports in the stdlib (python#120421)
pythongh-120417: Fix "imported but unused" linter warnings (python#12…
pythongh-120417: Remove unused imports in tests (part 4) (python#120632)
pythongh-120417: Remove unused imports in Tools (python#120623)
pythongh-120417: Remove unused imports in tests (part 3) (python#120631)
pythongh-120417: Remove unused imports in tests (part 2) (python#120630)
pythongh-120417: Remove unused imports in tests (part 1) (python#120629)
pythongh-120417: Modify test_bdb to use the import (python#120628)
pythongh-120417: Remove unused imports in cases_generator (python#120622
pythongh-120417: Move imports to doctests in test_doctest (python#120679
pythongh-120417: Use import_helper() in test_regrtest (python#120680)
pythongh-120417: Add #noqa: F401 to tests (python#120627)