[issue38334] zipfile: Seeking encrypted file breaks after seeking backwards

Daniel Hillier report at bugs.python.org
Sun Oct 27 01:53:24 EDT 2019


Daniel Hillier <daniel.hillier at gmail.com> added the comment:

I also think that the `read_init` method in my PR is a useful refactor as it locates all the state that needs to be (re)set when starting a read into the same location.

At the moment this state is set in 1) __init__ and 2) the seek method when seeking back beyond what is in the buffer.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38334>
_______________________________________


More information about the Python-bugs-list mailing list