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

I do not think that the library should limit the compression ratio. Large 
compression ratio is legit. For example, compressed file of size 1 GiB 
consisting of zeros has the compress ratio 1030 (and I suppose it is even 
larger if use bzip2 or lzma compressions).

If this is a problem for your program, your program should make a decision what 
ZIP files should be rejected.

I suggest to close this issue as "not a bug".

----------

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

Reply via email to