Author lemburg
Recipients doerwalter, lemburg, loewis, martin.panter, ncoghlan, vstinner
Date 2015-01-15.23:02:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <54B8470E.5050405@egenix.com>
In-reply-to <1421361969.03.0.433840890948.issue20132@psf.upfronthosting.co.za>
Content
On 15.01.2015 23:46, Martin Panter wrote:
> 
> I opened Issue 23231 about fixing iterencode() and iterdecode() in the general case. I added a patch to Issue 13881 to fix StreamWriter for zlib and bz2, and to fix StreamWriter.writelines() in general.
> 
> I am adding a patch here to clarify the StreamReader API and fix the StreamReader for the zlib-codec.

Martin, I must be missing some context: what's your master plan with
all these codec patches and open tickets ?

They are very hard to follow and you're making design changes which
need more review and discussion than can easily be done on a few tickets.

Regarding the patch:

The doc patch seems to just change ordering of sentences and paragraphs.
Without additional explanation, it's difficult to determine whether
you are changing semantics or not.

The "strict" error change is not correct. Most codecs raise a UnicodeError
(which is a ValueError subclass) and code expects codecs that work
on Unicode to return a UnicodeError, not a ValueError. Only codecs that
do not work on Unicode are allowed to raise ValueErrors.
History
Date User Action Args
2015-01-15 23:02:43lemburgsetrecipients: + lemburg, loewis, doerwalter, ncoghlan, vstinner, martin.panter
2015-01-15 23:02:43lemburglinkissue20132 messages
2015-01-15 23:02:43lemburgcreate