R. David Murray added the comment:
This is a duplicate of issue 16569 and issue 14099. Since the former links to
the latter I'm using that as the superseder.
--
nosy: +r.david.murray
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Preventing errors
David Wilson added the comment:
As a random side-note, this is another case where I really wish Python had a
.pread() function. It's uniquely valuable for coordinating positioned reads in
a threaded app without synchronization (at user level anyway) or extraneous
system calls.
--
___
New submission from David Wilson:
There is some really funky behaviour in the zipfile module, where, depending on
whether zipfile.ZipFile() is passed a string filename or a file-like object,
one of two things happens:
a) Given a file-like object, zipfile does not (since it cannot) consume exce