Antoine Pitrou added the comment:

You don't need to know the final size. You just need to be able to pass an 
output size limit. This would be an easy feature to add to functions like 
zlib.decompress(), since they already handle sizing of the output buffer.

----------
nosy: +pitrou
title: gzip, bz2, lzma: add method to get decompressed size -> gzip, bz2, lzma: 
add option to limit output size

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

Reply via email to