FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-133656: Remove unused import in `Lib/zipimport.py` by yihong0618 · Pull Request #140325 · python/cpython · GitHub

Repository navigation

gh-133656: Remove unused import in Lib/zipimport.py - #140325

Merged
brettcannon merged 3 commits into
python:mainfrom
yihong0618:hy/drop_useless_code_in_zipimport
Oct 20, 2025
Merged

brettcannon merged 3 commits into
python:mainfrom
yihong0618:hy/drop_useless_code_in_zipimport

Conversation

yihong0618 commented Oct 19, 2025 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

also drop the import and maybe a tiny performance up(

can skip news

Signed-off-by: yihong0618 <zouzou0208@gmail.com>

Copy link
Copy Markdown
Member

Last usage was removed in 5c6937a

StanFromIreland left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

On lines 13 and 14 we have two commented out imports that exist since the module's Python re-write. I think we can remove them too.

Signed-off-by: yihong0618 <zouzou0208@gmail.com>

Copy link
Copy Markdown
Contributor Author

On lines 13 and 14 we have two commented out imports that exist since the module's Python re-write. I think we can remove them too.

thanks and deleted

StanFromIreland changed the title gh-140324: drop useless code in zipimport gh-133656: drop useless code in zipimport Oct 19, 2025
StanFromIreland changed the title gh-133656: drop useless code in zipimport gh-133656: Remove unused import in Lib/zipimport.py Oct 19, 2025
brettcannon enabled auto-merge (squash) October 20, 2025 19:17
brettcannon disabled auto-merge October 20, 2025 19:17
brettcannon enabled auto-merge (squash) October 20, 2025 19:17
brettcannon merged commit d467f24 into python:main Oct 20, 2025
43 checks passed

Copy link
Copy Markdown
Member

Thanks!

StanFromIreland pushed a commit to StanFromIreland/cpython that referenced this pull request Dec 6, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL