Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

The current behavior looks correct to me. abc/def/1.txt is not a ZIP file, so 
the error is expected.

tarfile.open('a.zip') raises an error too, because a.zip is not a tar file.

----------
nosy: +serhiy.storchaka
status: open -> pending

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36088>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to