[Patches] [ python-Patches-1698994 ] getstate/setstate for incremental codecs
SourceForge.net
noreply at sourceforge.net
Tue Apr 17 00:15:24 CEST 2007
Patches item #1698994, was opened at 2007-04-12 09:58
Message generated for change (Comment added) made by doerwalter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1698994&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: Library (Lib)
Group: Python 3000
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Walter Dörwald (doerwalter)
Assigned to: Guido van Rossum (gvanrossum)
Summary: getstate/setstate for incremental codecs
Initial Comment:
This patch adds getstate() and setstate() methods to incremental codecs.
----------------------------------------------------------------------
>Comment By: Walter Dörwald (doerwalter)
Date: 2007-04-17 00:15
Message:
Logged In: YES
user_id=89016
Originator: YES
Checked in as r54845.
----------------------------------------------------------------------
Comment By: Walter Dörwald (doerwalter)
Date: 2007-04-15 12:12
Message:
Logged In: YES
user_id=89016
Originator: YES
This fourth version of the patch (diff4.txt) changes the specification, so
that IncrementalEncoder.getstate() and IncrementalDecoder.getstate()[1]
must be integers.
File Added: diff4.txt
----------------------------------------------------------------------
Comment By: Walter Dörwald (doerwalter)
Date: 2007-04-13 13:44
Message:
Logged In: YES
user_id=89016
Originator: YES
This third version (diff3.txt) of the patch adds the special treatment of
decoder state (always return (undecoded_input, additional_state_info)
tuples) and adds documentation and tests.
File Added: diff3.txt
----------------------------------------------------------------------
Comment By: Walter Dörwald (doerwalter)
Date: 2007-04-12 12:54
Message:
Logged In: YES
user_id=89016
Originator: YES
This second version of the patch adds tests and fixes getstate() and
setstate() for the utf-8-sig decode (and it includes the fix for the
utf-8-sig decoder from r54786).
File Added: diff2.txt
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1698994&group_id=5470
More information about the Patches
mailing list