Author amcnabb
Recipients amcnabb, jcea
Date 2012-02-14.18:43:08
SpamBayes Score 4.25661e-05
Marked as misclassified No
Message-id <>
It looks like encodings/ defines a custom IncrementalEncoder and IncrementalDecoder, but its StreamWriter and StreamReader rely on the standard implementation of codecs.StreamWriter and codecs.StreamReader.

One solution might be to have zlib_codec.StreamWriter inherit from zlib_codec.IncrementalEncoder instead of from zlib_encoder.Codec. I'm not familiar enough with the codecs library to know whether this is the best approach.

Unfortunately, there are 120 codec files in the encodings directory, and it's unclear how many of them would need to be modified. Based on the number of them that implement StreamWriter as "class StreamWriter(Codec,codecs.StreamWriter)", it looks like it might be a lot of them. Was each of these 120 files hand-written?
Date User Action Args
2012-02-14 18:43:09amcnabbsetrecipients: + amcnabb, jcea
2012-02-14 18:43:09amcnabbsetmessageid: <>
2012-02-14 18:43:08amcnabblinkissue13881 messages
2012-02-14 18:43:08amcnabbcreate