Martin Panter added the comment: Seems like a reasonable enhancement. A couple of points:
* Watch out for the parameter names. Should it be “bytes” or “data”? * Z_DEFAULT_COMPRESSION is -1 not 6 (see Issue 26244) * Needs a version changed notice, and probably a What’s New update ---------- nosy: +martin.panter stage: -> patch review type: behavior -> enhancement _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26243> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com