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 Ellison Marks
Recipients Ellison Marks, martin.panter, xiang.zhang
Date 2017-04-07.05:56:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1491544577.16.0.336209946883.issue30000@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-04-07 05:56:17Ellison Markssetrecipients: + Ellison Marks, martin.panter, xiang.zhang
2017-04-07 05:56:17Ellison Markssetmessageid: <1491544577.16.0.336209946883.issue30000@psf.upfronthosting.co.za>
2017-04-07 05:56:17Ellison Markslinkissue30000 messages
2017-04-07 05:56:16Ellison Markscreate