[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2021-08-09 Thread Łukasz Langa
Change by Łukasz Langa : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.6, Python 3.7 ___ Python tracker

[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2021-08-09 Thread miss-islington
miss-islington added the comment: New changeset d5c8ad24716d146ffa025e09dad85e5a1bac5c77 by Miss Islington (bot) in branch '3.10': bpo-32695: Docs and tests for compresslevel and preset kwargs in tarfile (GH-21470)

[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2021-08-09 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset ede221e51796f3f5471278aabd9105870f79dfb5 by Miss Islington (bot) in branch '3.9': bpo-32695: Docs and tests for compresslevel and preset kwargs in tarfile (GH-21470) (GH-27674)

[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2021-08-09 Thread miss-islington
Change by miss-islington : -- pull_requests: +26163 pull_request: https://github.com/python/cpython/pull/27675 ___ Python tracker ___

[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2021-08-09 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +26162 pull_request: https://github.com/python/cpython/pull/27674 ___ Python tracker

[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2021-08-09 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset eb2d4a66ff07aa6e51cfaaa31afed31addf76936 by Zackery Spytz in branch 'main': bpo-32695: Docs and tests for compresslevel and preset kwargs in tarfile (GH-21470) https://github.com/python/cpython/commit/eb2d4a66ff07aa6e51cfaaa31afed31addf76936

[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2020-07-13 Thread Zackery Spytz
Change by Zackery Spytz : -- nosy: +ZackerySpytz nosy_count: 1.0 -> 2.0 pull_requests: +20614 pull_request: https://github.com/python/cpython/pull/21470 ___ Python tracker ___

[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2018-02-03 Thread bbayles
bbayles added the comment: In working on a patch I convinced myself that a better change might just be to document that you can use the *preset* keyword for LZMA compression instead of *compresslevel*. -- ___ Python tracker

[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2018-01-28 Thread bbayles
Change by bbayles : -- keywords: +patch pull_requests: +5232 stage: -> patch review ___ Python tracker ___

[issue32695] tarfile.open() raises TypeError when using compresslevel parameter with LZMA

2018-01-28 Thread bbayles
New submission from bbayles : tarfile.open() allows for specifying both a compression type and a compression level. However, the compresslevel parameter doesn't work when using the xz modes. import tarfile good_archive = tarfile.open('/tmp/dummy.tar.gz', 'w:gz',