From: Jim B. <re...@bu...> - 2014-07-01 03:58:00
|
New submission from Jim Baker: It's trivial to reproduce this bug: wget https://pypi.python.org/packages/source/P/PrettyTable/prettytable-0.7.2.tar.bz2#md5=760dc900590ac3c46736167e09fa463a import tarfile with tarfile.open(name='prettytable-0.7.2.tar.bz2', mode='r') as t: t.extractall() will reliably produce output files with chunks of data missing, as can be readily be verified with diff -r Note that using the bz2 module to decompress produces a valid tar, so there's likely some interaction between streaming decompress and output of a given block to the untarred directory. ---------- assignee: zyasoft messages: 8855 nosy: zyasoft severity: normal status: open title: bz2 compressed tarfile can see a corrupted read versions: Jython 2.7 _______________________________________ Jython tracker <re...@bu...> <http://bugs.jython.org/issue2176> _______________________________________ |