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 — gh-151428: Remove unused imports from `Tools/` by IvyXu420 · Pull Request #151442 · python/cpython

Conversation

@IvyXu420

@IvyXu420 IvyXu420 commented Jun 13, 2026 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Automatically identify and remove unused imports within the Tools/ directory using ruff check --select F401 ./Tools. Manually reviewed by me.

  • Issue: Remove unused imports (June 2026) #151428

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@IvyXu420
Remove unused imports from Tools/
48d8297
@IvyXu420
IvyXu420 requested review from brandtbucher, diegorusso, ericsnowcurrently, lysnikolaou, markshannon, pablogsal and savannahostrowski as code owners June 13, 2026 14:04
@bedevere-app bedevere-app Bot added the awaiting review label Jun 13, 2026
@bedevere-app bedevere-app Bot mentioned this pull request Jun 13, 2026
Remove unused imports (June 2026) #151428
Closed
IvyXu420 added 3 commits June 13, 2026 22:18
@IvyXu420
Revert changes to grammar_parser.py
c00a77d
@IvyXu420
Revert changes to grammar_parser.py
caae4a8
@IvyXu420
Revert changes to common.py
c38a0cf
@StanFromIreland StanFromIreland added the skip news label Jun 13, 2026
sobolevn
sobolevn approved these changes Jun 14, 2026
View reviewed changes
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting review labels Jun 14, 2026
@sobolevn

sobolevn commented Jun 14, 2026

Copy link
Copy Markdown
Member

Do we need to backport this?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@IvyXu420

IvyXu420 commented Jun 14, 2026

Copy link
Copy Markdown
Contributor Author

Do we need to backport this?

No need IMO. #131156 and #131155 weren't backported either.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sobolevn
sobolevn merged commit 1097b22 into python:main Jun 14, 2026
159 of 163 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the awaiting merge label Jun 14, 2026
@IvyXu420
IvyXu420 deleted the fix-151428-tools branch June 14, 2026 13:34
@hugovk hugovk mentioned this pull request Jun 14, 2026
gh-151428: Remove unused imports from stdlib #151478
Merged
philthompson10 pushed a commit to philthompson10/cpython that referenced this pull request Jun 17, 2026
@IvyXu420 @philthompson10
pythongh-151428: Remove unused imports from Tools/ (python#151442)
6442abd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@sobolevn sobolevn sobolevn approved these changes
@pablogsal pablogsal Awaiting requested review from pablogsal
@lysnikolaou lysnikolaou Awaiting requested review from lysnikolaou
@brandtbucher brandtbucher Awaiting requested review from brandtbucher brandtbucher is a code owner
@savannahostrowski savannahostrowski Awaiting requested review from savannahostrowski
@diegorusso diegorusso Awaiting requested review from diegorusso diegorusso is a code owner
@markshannon markshannon Awaiting requested review from markshannon markshannon is a code owner
@ericsnowcurrently ericsnowcurrently Awaiting requested review from ericsnowcurrently ericsnowcurrently is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

skip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@IvyXu420 @sobolevn @StanFromIreland
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.