[issue6282] In tarfile, compression level cannot be specified

2009-06-15 Thread Omri Shaked
Omri Shaked added the comment: Silly me... Thanks! -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue6282] In tarfile, compression level cannot be specified

2009-06-14 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: The TarFile.bz2open function does have a 'compresslevel' parameter. How do you use TarFile? -- nosy: +amaury.forgeotdarc ___ Python tracker __

[issue6282] In tarfile, compression level cannot be specified

2009-06-14 Thread Omri Shaked
New submission from Omri Shaked : 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)). -- com