[issue8463] shutil.make_archive() supports bz2, but it's not documented
Shashwat Anand
report at bugs.python.org
Mon Apr 19 20:33:22 CEST 2010
Shashwat Anand <anand.shashwat at gmail.com> added the comment:
Seems like these formats are supported, so yes "bztar" can be used as a format parameter.
_ARCHIVE_FORMATS = {
'gztar': (_make_tarball, [('compress', 'gzip')], "gzip'ed tar-file"),
'bztar': (_make_tarball, [('compress', 'bzip2')], "bzip2'ed tar-file"),
'ztar': (_make_tarball, [('compress', 'compress')],
"compressed tar file"),
'tar': (_make_tarball, [('compress', None)], "uncompressed tar file"),
'zip': (_make_zipfile, [],"ZIP file")
}
----------
nosy: +l0nwlf
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8463>
_______________________________________
More information about the Python-bugs-list
mailing list