New submission from wdv4758h:

The command "python -m tarfile -c test.tar.bz2 test/" should create a file that 
is compressed by bzip2,
but actually the detection of compression algorithm that should be used is 
broken (for gz, xz, bz2).

fix it by prepending a dot to the keys of the dictionary

----------
components: Library (Lib)
files: fix_compressions_dict.patch
hgrepos: 297
keywords: patch
messages: 235604
nosy: wdv4758h
priority: normal
severity: normal
status: open
title: tarfile module does not correctly choose compression algorithms
type: behavior
versions: Python 3.5
Added file: http://bugs.python.org/file38056/fix_compressions_dict.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23421>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to