[issue11981] dupe self.fp.tell() in zipfile.ZipFile.writestr

Johan Euphrosine report at bugs.python.org
Thu May 5 14:11:43 CEST 2011


Johan Euphrosine <proppy at google.com> added the comment:

I just find it while reading the source, for fixing #11980

zinfo.header_offset is only read in self._write_check, and it seems to me that no file operation are performed on self.fp between the two call. So I can't see see how it could different.

Also the tests suite still pass after removing the second one :)

Let me know if you want me to do more investigation.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11981>
_______________________________________


More information about the Python-bugs-list mailing list