Skip to content

gh-150144: Speed up reading gzip files with long filename or comment#150145

Open
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:gzip-long-header
Open

gh-150144: Speed up reading gzip files with long filename or comment#150145
serhiy-storchaka wants to merge 1 commit into
python:mainfrom
serhiy-storchaka:gzip-long-header

Conversation

@serhiy-storchaka
Copy link
Copy Markdown
Member

@serhiy-storchaka serhiy-storchaka commented May 20, 2026

@serhiy-storchaka serhiy-storchaka added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels May 20, 2026
@rhpvorderman
Copy link
Copy Markdown
Contributor

Well I am not qualified to say so, but it looks good to me!
I wonder if "reading until delimiter" is a common enough case to be included as a C method in BaseIO derivatives, just like readline is (which is read_until('\n')). Would have been nice to have read_until(b'\x00') here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants