[issue20781] BZ2File doesn't decompress some .bz2 files correctly

Serhiy Storchaka report at bugs.python.org
Wed Feb 26 21:48:08 CET 2014


Serhiy Storchaka added the comment:

Oh, no, I just not pressed <Enter> after copying long testing command line. ;)

All works on 3.3 too, but on 2.7 I got incomplete result.

$ ./python -c 'import bz2, hashlib; d = bz2.BZ2File("../example-file.csv.bz2").read(); print len(d), hashlib.md5(d).hexdigest()'
900000 e2d4ce212a040c879cb256f88c9faab9

----------

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


More information about the Python-bugs-list mailing list