[issue26244] zlib.compressobj level default value documentation

2016-02-02 Thread Martin Panter
Martin Panter added the comment: I also made a small change to the compressobj() doc string. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker __

[issue26244] zlib.compressobj level default value documentation

2016-02-01 Thread Roundup Robot
Roundup Robot added the comment: New changeset 650cf38fba28 by Martin Panter in branch '2.7': Issue #26244: Clarify default zlib compression level in documentation https://hg.python.org/cpython/rev/650cf38fba28 New changeset 950e0bfe94ae by Martin Panter in branch '3.5': Issue #26244: Clarify de

[issue26244] zlib.compressobj level default value documentation

2016-01-31 Thread Martin Panter
Martin Panter added the comment: This version looks great to me. -- versions: +Python 2.7 ___ Python tracker ___ ___ Python-bugs-list

[issue26244] zlib.compressobj level default value documentation

2016-01-31 Thread Aviv Palivoda
Aviv Palivoda added the comment: I think that we can leave the level=-1 as the default in the documentation. What should be added is what Z_DEFAULT_COMPRESSION means. I tried to be as close as possible to the zlib module documentation. -- Added file: http://bugs.python.org/file41766/zli

[issue26244] zlib.compressobj level default value documentation

2016-01-30 Thread Martin Panter
Martin Panter added the comment: I’m not sure that is perfectly correct. It really does default to -1, and that is passed to the underlying zlib library (-1 = Z_DEFAULT_COMPRESSION). It is the zlib library that decides that this means 6, but in theory I guess it could be configured or modified

[issue26244] zlib.compressobj level default value documentation

2016-01-30 Thread Aviv Palivoda
New submission from Aviv Palivoda: In the zlib.compressobj documentation the default value of the compress level is -1 while it is actually 6. patch is included -- assignee: docs@python components: Documentation, Extension Modules files: zlib-compressobj-level-doc.patch keywords: patch