[issue5411] add xz compression support to shutil

Éric Araujo report at bugs.python.org
Tue Feb 14 17:34:23 CET 2012


Éric Araujo <merwok at netwok.org> added the comment:

a) is #14013; b) is #14011.

If Lars agrees to #14013, I will withdraw this patch in favor of another one that would make shutil automatically support all compressors that tarfile supports (my b) point).

Note that this is not going to be pain-free, as for example bzip2 compression is obtained with the strings “bz2”, “bzip2”, “bzip” or “bztar” depending on the modules; I think it’s worth it nonetheless, even if I have to add an ugly conversion in shutil for compat.

----------
dependencies: +tarfile should expose supported formats

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


More information about the Python-bugs-list mailing list