This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients krnick, serhiy.storchaka, twouters
Date 2019-03-28.16:16:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1553789819.39.0.837380747485.issue36462@roundup.psfhosted.org>
In-reply-to
Content
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".
History
Date User Action Args
2019-03-28 16:16:59serhiy.storchakasetrecipients: + serhiy.storchaka, twouters, krnick
2019-03-28 16:16:59serhiy.storchakasetmessageid: <1553789819.39.0.837380747485.issue36462@roundup.psfhosted.org>
2019-03-28 16:16:59serhiy.storchakalinkissue36462 messages
2019-03-28 16:16:59serhiy.storchakacreate