GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove unused imports from the stdlib · Issue #120417 · python/cpython

Remove unused imports from the stdlib #120417

New issue
Copy link
New issue
Copy link
Closed
Closed
Remove unused imports from the stdlib#120417
Copy link

Description

@vstinner
vstinner
opened on Jun 12, 2024
Issue body actions

Using pyflakes or ruff, I found unused imports and I created this issue to remove them.

Linked PRs

  • gh-120417: Remove unused imports in the stdlib #120420
  • gh-120417: Add #noqa to used imports in the stdlib #120421
  • [3.13] gh-120417: Remove unused imports in the stdlib (GH-120420) #120429
  • gh-120417: Add more #noqa to used imports in the stdlib #120454
  • gh-120417: Fix "imported but unused" linter warnings #120461
  • [3.12] gh-120417: Remove unused import in idlelib (GH-120420) #120574
  • gh-120417: Remove unused imports in cases_generator #120622
  • gh-120417: Remove unused imports in Tools #120623
  • gh-120417: Add #noqa to load_tests() in tests #120626
  • gh-120417: Add #noqa: F401 to tests #120627
  • gh-120417: Modify test_bdb to use the import #120628
  • gh-120417: Remove unused imports in tests (part 1) #120629
  • gh-120417: Remove unused imports in tests (part 2) #120630
  • gh-120417: Remove unused imports in tests (part 3) #120631
  • gh-120417: Remove unused imports in tests (part 4) #120632
  • gh-120417: Move imports to doctests in test_doctest #120679
  • gh-120417: Use import_helper() in test_regrtest #120680
Reacted by Serhiy Storchaka, Clinton and Kirill Podoprigora

Activity

Next
  1. vstinner
    added 7 commits that reference this issue on Jun 12, 2024

    pythongh-120417: Remove unused imports in the stdlib

    3a04487

    pythongh-120417: Remove unused imports in the stdlib

    0befb7b

    pythongh-120417: Add #noqa to used imports to prevent warnings

    28cf6b1

    pythongh-120417: Add #noqa to used imports in the stdlib

    f6d03d4

    pythongh-120417: Add #noqa to used imports in the stdlib

    119f192

    pythongh-120417: Add #noqa to used imports in the stdlib

    8347c30

    gh-120417: Remove unused imports in the stdlib (#120420)

    4c6d4f5
  2. miss-islington
    added a commit that references this issue on Jun 12, 2024

    pythongh-120417: Remove unused imports in the stdlib (pythonGH-120420)

    70c31ec
  3. vstinner
    added 5 commits that reference this issue on Jun 12, 2024

    [3.13] gh-120417: Remove unused imports in the stdlib (GH-120420) (#1…

    5172462

    gh-120417: Add #noqa to used imports in the stdlib (#120421)

    6ae254a

    pythongh-120417: Add more #noqa to used imports in the stdlib

    fc384b1

    pythongh-120417: Fix "imported but unused" linter warnings

    56cbf55

    gh-120417: Fix "imported but unused" linter warnings (#120461)

    05df063
  4. terryjreedy
    added 2 commits that reference this issue on Jun 16, 2024

    [3.12] pythongh-120417: Remove unused import in idlelib (pythonGH-120420

    459cd6b

    [3.12] gh-120417: Remove unused import in idlelib (GH-120420) (#120574)

    51af315
  5. 47 remaining items

  6. mrahtz
    added 2 commits that reference this issue on Jun 30, 2024

    pythongh-120417: Use import_helper() in test_regrtest (python#120680)

    0580e94

    pythongh-120417: Add #noqa: F401 to tests (python#120627)

    364df97
  7. estyxx
    added 13 commits that reference this issue on Jul 17, 2024

    pythongh-120417: Remove unused imports in the stdlib (python#120420)

    6dff6fe

    pythongh-120417: Add #noqa to used imports in the stdlib (python#120421)

    cd91fb4

    pythongh-120417: Fix "imported but unused" linter warnings (python#12…

    5800a9e

    pythongh-120417: Remove unused imports in tests (part 4) (python#120632)

    9e04066

    pythongh-120417: Remove unused imports in Tools (python#120623)

    17febe6

    pythongh-120417: Remove unused imports in tests (part 3) (python#120631)

    15a194d

    pythongh-120417: Remove unused imports in tests (part 2) (python#120630)

    8ea0525

    pythongh-120417: Remove unused imports in tests (part 1) (python#120629)

    f20d131

    pythongh-120417: Modify test_bdb to use the import (python#120628)

    de3616c

    pythongh-120417: Remove unused imports in cases_generator (python#120622

    4cf1312

    pythongh-120417: Move imports to doctests in test_doctest (python#120679

    eebd4d4

    pythongh-120417: Use import_helper() in test_regrtest (python#120680)

    042bf76

    pythongh-120417: Add #noqa: F401 to tests (python#120627)

    60df5cc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.