[issue28494] is_zipfile false positives

Serhiy Storchaka report at bugs.python.org
Tue Nov 8 14:45:16 EST 2016


Serhiy Storchaka added the comment:

The problem is that the zipfile module supports even not well-formed archives, with a data appended past a comment, and with truncated comment. There are special tests for this, and the proposed patch breaks these tests: test_comments, test_ignores_newline_at_end, test_ignores_stuff_appended_past_comments. See issue10694 and issue1622.

----------

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


More information about the Python-bugs-list mailing list