Showing content from http://mail.python.org/pipermail/python-dev/attachments/20060222/28bea403/attachment.htm below:
On 2/17/06, <b class="gmail_sendername">Guido van Rossum</b> <<a href="mailto:guido@python.org">guido@python.org</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Please submit your patch to SourceForge.</blockquote><div><br>I've submitted the zlib patch as patch #1435422. I added some test cases to test_zlib.py and documented the new methods. I'd like to test my gzip / tarfile changes more before creating a patch for it, but I'm interested in any feedback about the idea of adding snapshot() / restore() methods to the GzipFile and TarFile classes.
<br><br>It doesn't look like the underlying bz2 library supports copying compression / decompression streams, so for now it's impossible to make corresponding changes to the bz2 module.<br><br>I also noticed that the tarfile reimplements the gzip file format when dealing with streams. Would it make sense to refactor some the
gzip.py code to expose the methods that read/write the gzip file header, and have the tarfile module use those methods?<br><br>Cheers,<br>Chris<br></div><br></div>
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4