<div dir="ltr">2008/9/9 Stefano Zacchiroli <span dir="ltr">&lt;<a href="mailto:zack@debian.org">zack@debian.org</a>&gt;</span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Unfortunately not, thus far I haven&#39;t been able to try out the solution<br>
(4) mentioned in the bug log to, which looks like the most likely to be<br>
successful.<br>
<br>
If you want to help, feel free to try it out and provide a patch. If you<br>
can&#39;t do that, even only verifying whether all the methods of the<br>
file-like interface we use are supported by tarfile would help.<br>
</blockquote></div><br>Done and attached :-) The biggest problem is that Tarfile&#39;s __init__ method doesn&#39;t actually allow for &quot;r:bz2&quot; opening (who knows why... and it&#39;s not recommended in general for use by the Python 2.5.1 docs I have locally), but if you call Tarfile.open() instead, then that does and it returns a new Tarfile object. Right now I&#39;m just fixing the tgz() method so it does the right thing when it has a .bz2 instead, but you may wish to rename this method as well....<br>
<br>Tom Parker<br></div>