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 in the stdlib (April 2020 edition) · Issue #84623 · python/cpython

Remove unused imports in the stdlib (April 2020 edition) #84623

New issue
Copy link
New issue
Copy link
Closed
#93772
Closed
Remove unused imports in the stdlib (April 2020 edition)#84623
#93772
Copy link
Labels
3.9 (EOL)end of lifeend of lifestdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytestsTests in the Lib/test dirTests in the Lib/test dir

Description

@vstinner
vstinner
opened on Apr 29, 2020
Issue body actions
BPO 40443
Nosy @terryjreedy, @vstinner, @corona10, @miss-islington
PRs
  • bpo-40443: Remove unused imports in idlelib #19801
  • bpo-40443: Remove unused imports in distutils #19802
  • bpo-40443: Remove unused imports in the stdlib #19803
  • bpo-40443: Remove unused imports from tests #19804
  • bpo-40443: Remove unused imports from tests #19805
  • [3.7] bpo-40443: Remove unused imports in idlelib (GH-19801) #19808
  • [3.8] bpo-40443: Remove unused imports in idlelib (GH-19801) #19809
  • bpo-40443: Remove unused imports in stdlib #19815
  • bpo-40443: Remove unused imports in the zoneinfo #20354
  • [3.9] bpo-40443: Remove unused imports in the zoneinfo (GH-20354) #20359
  • bpo-40443: Remove unused imports #25429
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2020-05-01.00:38:25.016>
    created_at = <Date 2020-04-29.22:42:28.273>
    labels = ['tests', 'library', '3.9']
    title = 'Remove unused imports in the stdlib (April 2020 edition)'
    updated_at = <Date 2021-04-16.09:26:36.672>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2021-04-16.09:26:36.672>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-05-01.00:38:25.016>
    closer = 'vstinner'
    components = ['Library (Lib)', 'Tests']
    creation = <Date 2020-04-29.22:42:28.273>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 40443
    keywords = ['patch']
    message_count = 13.0
    messages = ['367711', '367715', '367720', '367725', '367727', '367728', '367748', '367749', '367819', '367820', '369805', '369807', '391174']
    nosy_count = 4.0
    nosy_names = ['terry.reedy', 'vstinner', 'corona10', 'miss-islington']
    pr_nums = ['19801', '19802', '19803', '19804', '19805', '19808', '19809', '19815', '20354', '20359', '25429']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue40443'
    versions = ['Python 3.9']

    Activity

    Next
    1. vstinner commented on Apr 29, 2020

      @vstinner
      vstinner
      on Apr 29, 2020
      MemberAuthor
      More actions

      Attached PRs removed unused imports from the Python standard library.

      I used pyflakes and looked for "imported but unused" warnings. I ignored tons of warnings, since many are false alarms: imports done on purpose.

      Previous editions:

      • 2014: bpo-20976
      • 2017: bpo-29919
    2. vstinner
      added
      3.9 (EOL)end of lifeend of life
      stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
      testsTests in the Lib/test dirTests in the Lib/test dir
      on Apr 29, 2020
    3. vstinner commented on Apr 29, 2020

      @vstinner
      vstinner
      on Apr 29, 2020
      MemberAuthor
      More actions

      New changeset 57572b1 by Victor Stinner in branch 'master':
      bpo-40443: Remove unused imports in tests (GH-19805)
      57572b1

    4. vstinner commented on Apr 30, 2020

      @vstinner
      vstinner
      on Apr 30, 2020
      MemberAuthor
      More actions

      New changeset b1e11c3 by Victor Stinner in branch 'master':
      bpo-40443: Remove unused imports in tests (GH-19804)
      b1e11c3

    5. terryjreedy commented on Apr 30, 2020

      @terryjreedy
      terryjreedy
      on Apr 30, 2020
      Member
      More actions

      New changeset 6900f16 by Victor Stinner in branch 'master':
      bpo-40443: Remove unused imports in idlelib (GH-19801)
      6900f16

    6. miss-islington commented on Apr 30, 2020

      @miss-islington
      miss-islington
      on Apr 30, 2020
      Contributor
      More actions

      New changeset 48ef06b by Miss Islington (bot) in branch '3.7':
      bpo-40443: Remove unused imports in idlelib (GH-19801)
      48ef06b

    7. miss-islington commented on Apr 30, 2020

      @miss-islington
      miss-islington
      on Apr 30, 2020
      Contributor
      More actions

      New changeset 95e208d by Miss Islington (bot) in branch '3.8':
      bpo-40443: Remove unused imports in idlelib (GH-19801)
      95e208d

    8. vstinner commented on Apr 30, 2020

      @vstinner
      vstinner
      on Apr 30, 2020
      MemberAuthor
      More actions

      New changeset 9054967 by Victor Stinner in branch 'master':
      bpo-40443: Remove unused imports in the stdlib (GH-19803)
      9054967

    9. vstinner commented on Apr 30, 2020

      @vstinner
      vstinner
      on Apr 30, 2020
      MemberAuthor
      More actions

      New changeset e488e30 by Victor Stinner in branch 'master':
      bpo-40443: Remove unused imports in distutils (GH-19802)
      e488e30

    10. vstinner commented on May 1, 2020

      @vstinner
      vstinner
      on May 1, 2020
      MemberAuthor
      More actions

      New changeset eb0d359 by Victor Stinner in branch 'master':
      bpo-40443: Remove unused imports in stdlib (GH-19815)
      eb0d359

    11. 11 remaining items

    12. vstinner
      added 2 commits that reference this issue on Jun 22, 2022

      gh-84623: Move imports in doctests (#94133)

      e52009d

      gh-84623: Remove unused imports in idlelib (#94143)

      576dd90
    13. miss-islington
      added 3 commits that reference this issue on Jun 22, 2022

      pythongh-84623: Remove unused imports in idlelib (pythonGH-94143)

      42b6aa4

      pythongh-84623: Remove unused imports in idlelib (pythonGH-94143)

      13e7b21

      gh-84623: Remove unused imports in idlelib (GH-94143)

      a562d2d
    14. vstinner
      added a commit that references this issue on Jun 23, 2022

      gh-84623: Remove unused imports in idlelib (GH-94143) (#94148)

      34be807
    15. serhiy-storchaka
      added a commit that references this issue on Jun 26, 2022

      Revert 30935 defer bpo45162 to 312 (#94285)

      1ffde3e
    16. terryjreedy
      added a commit that references this issue on Jun 27, 2022

      [3.11] pythongh-84623: Remove unused imports in stdlib

      b21aec9
    17. terryjreedy commented on Jun 27, 2022

      @terryjreedy
      terryjreedy
      on Jun 27, 2022
      Member
      More actions

      #94313 is backport of #93773 for 2 idle files only.

    18. terryjreedy
      added a commit that references this issue on Jun 27, 2022

      [3.11] gh-84623: Remove unused imports in stdlib (#94313)

      bc8d81a
    19. miss-islington
      added 2 commits that reference this issue on Jun 27, 2022

      [3.11] pythongh-84623: Remove unused imports in stdlib (pythonGH-94313)

      9c5343c

      [3.11] gh-84623: Remove unused imports in stdlib (GH-94313)

      da6f859
    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

      3.9 (EOL)end of lifeend of lifestdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytestsTests in the Lib/test dirTests in the Lib/test dir

      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.