Antoine Pitrou <pit...@free.fr> added the comment: Ok, here is a new patch with a simpler logic. I've also added tests with a deflated zipfile entry with a bad CRC (in addition to the one with a stored zipfile entry).
> Finally, is it possible to determine end of file if length of 'data' > (computed for crc) is 0? I'm not sure I understand the question. ---------- Added file: http://bugs.python.org/file18484/zipcrc2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7467> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com