[New-bugs-announce] [issue6282] In tarfile, compression level cannot be specified

Omri Shaked report at bugs.python.org
Sun Jun 14 13:49:59 CEST 2009


New submission from Omri Shaked <omri.shaked at gmail.com>:

When creating a TarFile object that uses compression, the compressor is
always created using its default compression level.

import bz2
self.cmp = bz2.BZ2Compressor()

You can't specify the compression level (i.e. self.cmp =
bz2.BZ2Compressor(1)).

----------
components: Library (Lib)
messages: 89345
nosy: Tzigi
severity: normal
status: open
title: In tarfile, compression level cannot be specified
type: feature request
versions: Python 2.6

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


More information about the New-bugs-announce mailing list