Hi, Look at the following code: import bz2 bz2.BZ2File("test.bz2","r") bz2.seek(0,2) assert bz2.tell() != 0 seek() method is buggy (when 0<=offset and where=2). I wrote a patch. Haypo
Logged In: YES user_id=365388 Please check it :-) I'm not sure that it works well because I'm new in CPython code. Oooooops ... I just tried my code, and seek(x,2) with 0<x worked like seek(-x,2)! So here is a new patch :-P Haypo