[issue13477] tarfile module should have a command line
Larry Hastings
report at bugs.python.org
Tue Mar 19 18:10:14 CET 2013
Larry Hastings added the comment:
Huh. tar *can* infer it from the data itself. On the other hand, it chooses explicitly not to.
% cat ~/Downloads/Python-3.3.0.tar.bz2| tar xvf -
tar: Archive is compressed. Use -j option
tar: Error is not recoverable: exiting now
% cat ~/Downloads/Python-3.3.0.tgz| tar xvf -
tar: Archive is compressed. Use -z option
tar: Error is not recoverable: exiting now
I guess "tar" knows explicit is better than implicit too ;-)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13477>
_______________________________________
More information about the Python-bugs-list
mailing list