[Patches] [ python-Patches-1435422 ] Add copy() method to zlib's compress and decompress objects

SourceForge.net noreply at sourceforge.net
Mon Feb 20 21:17:04 CET 2006


Patches item #1435422, was opened at 2006-02-20 15:17
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1435422&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Modules
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Chris AtLee (catlee)
Assigned to: Nobody/Anonymous (nobody)
Summary: Add copy() method to zlib's compress and decompress objects

Initial Comment:
The attached patch adds a copy() method to zlib's
compressobj and decompressobj.  Copying a
(de)compression object allows a developer to store the
state of the (de)compressor at a certain point of the
input stream in order to more efficiently compress data
sharing some identical header, or to more efficiently
seek inside compressed data.

Doc/lib/libzlib.tex is updated with descriptions for
the new methods.

Lib/test/test_zlib.py is updated to test the new
functionality.

The patch is against revision 42524 in
http://svn.python.org/projects/python/trunk


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1435422&group_id=5470


More information about the Patches mailing list