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 <>
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".
Date User Action Args
2019-03-28 16:16:59serhiy.storchakasetrecipients: + serhiy.storchaka, twouters, krnick
2019-03-28 16:16:59serhiy.storchakasetmessageid: <>
2019-03-28 16:16:59serhiy.storchakalinkissue36462 messages
2019-03-28 16:16:59serhiy.storchakacreate