[issue32435] tarfile recognizes .gz file as tar

Serhiy Storchaka report at bugs.python.org
Wed Dec 27 17:24:14 EST 2017


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

This file is a correct empty tar file. The tar utility accepts it too.

$ tar tf big_0_file_1.gz; echo $?
0

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32435>
_______________________________________


More information about the Python-bugs-list mailing list