This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Remove unneeded ZipFile IO
Type: performance Stage:
Components: Library (Lib) Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: data-ux
Priority: normal Keywords:

Created on 2021-10-18 05:30 by data-ux, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 25966 open data-ux, 2021-10-18 05:30
Messages (1)
msg404155 - (view) Author: Jan Wolski (data-ux) * Date: 2021-10-18 05:30
Currently in the ZipFile class implementation, when processing the zip file headers "extra" field, a .read() call is used without using the returned value in any way. This call could be replaced with a .seek() to avoid actually doing the IO.

The change would improve performance in use cases where the fileobject given to ZipFile is backed by high latency IO, eg. HTTP range requests.
History
Date User Action Args
2022-04-11 14:59:51adminsetgithub: 89668
2021-10-18 05:30:14data-uxcreate