[issue26253] tarfile in stream mode always set zlib compression level to 9

wim glenn report at bugs.python.org
Wed Jun 28 16:13:01 EDT 2017


wim glenn added the comment:

This issue also got me.  compresslevel kwarg works fine for tarfile.open(..., mode='w:gz') but raises exception for tarfile.open(..., mode='w|gz')

I want to use stream compression, and compresslevel=1 is more than enough for my use case, the default of 9 is way too slow.

----------
nosy: +wim.glenn

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26253>
_______________________________________


More information about the Python-bugs-list mailing list