[issue44128] zipfile: Deduplicate ZipExtFile code for init and resetting when seeking
Daniel Hillier
report at bugs.python.org
Fri May 14 00:13:13 EDT 2021
New submission from Daniel Hillier <daniel.hillier at gmail.com>:
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()`
----------
components: Library (Lib)
messages: 393619
nosy: dhillier, serhiy.storchaka
priority: normal
severity: normal
status: open
title: zipfile: Deduplicate ZipExtFile code for init and resetting when seeking
type: enhancement
versions: Python 3.10, Python 3.11
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44128>
_______________________________________
More information about the Python-bugs-list
mailing list