New submission from Sergey Petrunin <sergey.petru...@nih.gov>: Library's function 'tarfile.is_tarfile' returns 'True' on GZip file (9.7 megabytes see attachment), that is a file with 10 gigabytes of '0' character compressed with 'gzip' utility (no 'tar' whatsoever).
Desired result: this function should return False in this case, b.c. this file is not a tar file. ---------- components: Library (Lib) files: big_0_file_1.gz messages: 309106 nosy: spetrunin priority: normal severity: normal status: open title: tarfile recognizes .gz file as tar versions: Python 2.7, Python 3.6 Added file: https://bugs.python.org/file47353/big_0_file_1.gz _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32435> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com