Skip to content

Conversation

maurycy
Copy link
Contributor

@maurycy maurycy commented Aug 25, 2025

I noticed these, while taking a look at gh-138117.

I don't think it warrants a blurb, nor an issue.

@maurycy maurycy requested a review from ethanfurman as a code owner August 25, 2025 00:16
@python-cla-bot
Copy link

python-cla-bot bot commented Aug 25, 2025

All commit authors signed the Contributor License Agreement.

CLA signed

@StanFromIreland StanFromIreland added skip issue skip news type-refactor Code refactoring (with no changes in behavior) labels Aug 25, 2025
Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

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

LGTM. 👍

original_n was added in b5a6db9 and was never used. It looks unrelated to that change.

writebuf and bufsize were in Lib/gzip.py from beginning, but they were never used. This is the only occurrence of writebuf in the stdlib, so it is unlikely they were added for use outside of the gzip module. The bufsize attribute is defined in some classes, but it is always used in the same class, nothing related to gzip.

@serhiy-storchaka serhiy-storchaka merged commit edf6e68 into python:main Aug 25, 2025
55 checks passed
@maurycy maurycy deleted the dead-code-gzip-tarfile branch August 25, 2025 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip issue skip news type-refactor Code refactoring (with no changes in behavior)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants