Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > python 3.3 bz2 decompression testing results

Reply
Thread Tools

python 3.3 bz2 decompression testing results

 
 
Pauli Rikula
Guest
Posts: n/a
 
      06-16-2012
I tested http://python.org/ftp/python/3.3.0/p....0a4.amd64.msi
bz2 module's decompression using the bz2 -files from:
https://www.ee.oulu.fi/research/ousp...te_c10-archive

and found nothing.

I did not use anything like Valgrind though.
Should I try to run these tests again using Linux and Valgrind?

Testscript is at:
http://code.google.com/p/my-never-en..._decompress.py

you might find it interesting.. or not.

The test took about 2 hours and all the exceptions I got from tests
were the like these two (exceptions.txt -file which was made by the
test_decompress.py -testscript):

--------
testcase 0: 00000184e108021bf3b3f860f1c7618c.bz2
file len: 76
local testtime: 2012-06-16 18:44:25
('Traceback (most recent call last):\n',
' File "C:/projektit/bz2_python33_test/test_decompress.py", line 52,
in <module>\n _ = bz2.decompress(fs)\n',
' File "C:\\Python33-0a4\\lib\\bz2.py", line 419, in decompress\n
raise ValueError("Compressed data ended before the "\n',
'ValueError: Compressed data ended before the end-of-stream marker
was reached\n')
--------
testcase 1: 000001d8c11b84d738de284a8ba76226.bz2
file len: 3629
local testtime: 2012-06-16 18:44:25
('Traceback (most recent call last):\n',
' File "C:/projektit/bz2_python33_test/test_decompress.py", line 52,
in <module>\n _ = bz2.decompress(fs)\n',
' File "C:\\Python33-0a4\\lib\\bz2.py", line 417, in decompress\n
results.append(decomp.decompress(data))\n',
'OSError: Invalid data stream\n')
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: compile python 3.3 with bz2 support on RedHat 5.5 Ramchandra Apte Python 0 12-21-2012 12:15 PM
Re: python 3.3 bz2 decompression testing results Nadeem Vawda Python 0 06-18-2012 09:07 PM
How to install Python on Debian GNU/Linux (Python-2.7.2.tar.bz2) patrickwayodi Python 6 12-14-2011 06:40 PM
bz2 module doesn't work properly with all bz2 files Magdoll Python 3 06-05-2010 02:06 AM
handling tar, gz and bz2 with python Matthew Thorley Python 1 04-22-2005 09:04 PM



Advertisments