Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
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']
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:
New changeset 57572b1 by Victor Stinner in branch 'master': bpo-40443: Remove unused imports in tests (GH-19805) 57572b1
New changeset b1e11c3 by Victor Stinner in branch 'master': bpo-40443: Remove unused imports in tests (GH-19804) b1e11c3
New changeset 6900f16 by Victor Stinner in branch 'master': bpo-40443: Remove unused imports in idlelib (GH-19801) 6900f16
New changeset 48ef06b by Miss Islington (bot) in branch '3.7': bpo-40443: Remove unused imports in idlelib (GH-19801) 48ef06b
New changeset 95e208d by Miss Islington (bot) in branch '3.8': bpo-40443: Remove unused imports in idlelib (GH-19801) 95e208d
New changeset 9054967 by Victor Stinner in branch 'master': bpo-40443: Remove unused imports in the stdlib (GH-19803) 9054967
New changeset e488e30 by Victor Stinner in branch 'master': bpo-40443: Remove unused imports in distutils (GH-19802) e488e30
New changeset eb0d359 by Victor Stinner in branch 'master': bpo-40443: Remove unused imports in stdlib (GH-19815) eb0d359
gh-84623: Move imports in doctests (#94133)
gh-84623: Remove unused imports in idlelib (#94143)
pythongh-84623: Remove unused imports in idlelib (pythonGH-94143)
gh-84623: Remove unused imports in idlelib (GH-94143)
gh-84623: Remove unused imports in idlelib (GH-94143) (#94148)
Revert 30935 defer bpo45162 to 312 (#94285)
[3.11] pythongh-84623: Remove unused imports in stdlib
#94313 is backport of #93773 for 2 idle files only.
[3.11] gh-84623: Remove unused imports in stdlib (#94313)
[3.11] pythongh-84623: Remove unused imports in stdlib (pythonGH-94313)
[3.11] gh-84623: Remove unused imports in stdlib (GH-94313)
Activity
vstinner commented on Apr 29, 2020
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:
vstinner commented on Apr 29, 2020
New changeset 57572b1 by Victor Stinner in branch 'master':
bpo-40443: Remove unused imports in tests (GH-19805)
57572b1
vstinner commented on Apr 30, 2020
New changeset b1e11c3 by Victor Stinner in branch 'master':
bpo-40443: Remove unused imports in tests (GH-19804)
b1e11c3
terryjreedy commented on Apr 30, 2020
New changeset 6900f16 by Victor Stinner in branch 'master':
bpo-40443: Remove unused imports in idlelib (GH-19801)
6900f16
miss-islington commented on Apr 30, 2020
New changeset 48ef06b by Miss Islington (bot) in branch '3.7':
bpo-40443: Remove unused imports in idlelib (GH-19801)
48ef06b
miss-islington commented on Apr 30, 2020
New changeset 95e208d by Miss Islington (bot) in branch '3.8':
bpo-40443: Remove unused imports in idlelib (GH-19801)
95e208d
vstinner commented on Apr 30, 2020
New changeset 9054967 by Victor Stinner in branch 'master':
bpo-40443: Remove unused imports in the stdlib (GH-19803)
9054967
vstinner commented on Apr 30, 2020
New changeset e488e30 by Victor Stinner in branch 'master':
bpo-40443: Remove unused imports in distutils (GH-19802)
e488e30
vstinner commented on May 1, 2020
New changeset eb0d359 by Victor Stinner in branch 'master':
bpo-40443: Remove unused imports in stdlib (GH-19815)
eb0d359
11 remaining items
gh-84623: Move imports in doctests (#94133)
gh-84623: Remove unused imports in idlelib (#94143)
pythongh-84623: Remove unused imports in idlelib (pythonGH-94143)
pythongh-84623: Remove unused imports in idlelib (pythonGH-94143)
gh-84623: Remove unused imports in idlelib (GH-94143)
gh-84623: Remove unused imports in idlelib (GH-94143) (#94148)
Revert 30935 defer bpo45162 to 312 (#94285)
[3.11] pythongh-84623: Remove unused imports in stdlib
terryjreedy commented on Jun 27, 2022
#94313 is backport of #93773 for 2 idle files only.
[3.11] gh-84623: Remove unused imports in stdlib (#94313)
[3.11] pythongh-84623: Remove unused imports in stdlib (pythonGH-94313)
[3.11] gh-84623: Remove unused imports in stdlib (GH-94313)