Ellison Marks added the comment:

I'm not sure I agree with that. The docs for compressobj just say

"Returns a compression object, to be used for compressing data streams that 
won’t fit into memory at once."

Which I don't think says much about the complexity aspect. Whether you're 
compressing a smaller bit of data or a stream, I think the optional parameters 
in compressobj are just as applicable to compress. When you've got an in-memory 
chunk of data, it seems to be going out of the way to construct a compressobj 
just to get at the optional parameters.

----------

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

Reply via email to