You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
zipfile: Deduplicate ZipExtFile code for init and resetting when seeking #88294
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=Nonecreated_at=<Date2021-05-14.04:13:13.256>labels= ['type-feature', 'library', '3.10', '3.11']
title='zipfile: Deduplicate ZipExtFile code for init and resetting when seeking'updated_at=<Date2021-05-14.04:33:18.225>user='https://github.com/danifus'
The logic for preparing a ZipExtFile for reading (setting CRC state, read positions, etc) is currently in two locations: first initialisation and when seeking back to the start of a file.
This change moves the logic into the method ZipExtFile.init_read()
Activity
danifus commentedon May 14, 2021
Integrating a refactor suggested in https://bugs.python.org/issue38334
The logic for preparing a ZipExtFile for reading (setting CRC state, read positions, etc) is currently in two locations: first initialisation and when seeking back to the start of a file.
This change moves the logic into the method
ZipExtFile.init_read()emmatyping commentedon Oct 20, 2025
I'm going to close this as a duplicate of #121639, since that one as an open PR.