Visitar URL original
Remove unused imports in the stdlib (April 2020 edition) · Issue #84623 · python/cpython · GitHub
Skip to content

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

Description

@vstinner
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

    1. vstinner commented on Apr 29, 2020

      @vstinner
      MemberAuthor

      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:

    2. added
      stdlibStandard Library Python modules in the Lib/ directory
      testsTests in the Lib/test dir
      on Apr 29, 2020
    3. vstinner commented on Apr 29, 2020

      @vstinner
      MemberAuthor

      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
      MemberAuthor

      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
      Member

      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
      Contributor

      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
      Contributor

      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
      MemberAuthor

      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
      MemberAuthor

      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
      MemberAuthor

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

    11. 11 remaining items

    12. added 2 commits that reference this issue on Jun 22, 2022
    13. added 3 commits that reference this issue on Jun 22, 2022
    14. added a commit that references this issue on Jun 23, 2022
    15. added a commit that references this issue on Jun 27, 2022
    16. terryjreedy commented on Jun 27, 2022

      @terryjreedy
      Member

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

    17. added a commit that references this issue on Jun 27, 2022
    18. added 2 commits that reference this issue on Jun 27, 2022
    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 lifestdlibStandard Library Python modules in the Lib/ directorytestsTests in the Lib/test dir

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions