Author lemburg
Recipients brett.cannon, eric.araujo, lemburg, loewis, meatballhat, pitrou, rhettinger, vstinner
Date 2011-05-23.16:21:20
SpamBayes Score 3.38879e-07
Marked as misclassified No
Message-id <1306167681.22.0.0519616958649.issue8796@psf.upfronthosting.co.za>
In-reply-to
Content
Correcting the title: this ticket is about codecs.open(), not StreamRead and StreamWriter, both of which are essential parts of the Python codec machinery and are needed to be able to implement per-codec implementations of codecs which read from and write to streams.

TextIOWrapper() is conceptually something completely different. It's more something like StreamReaderWriter().

The point about having them use incremental codecs for encoding and decoding is a good one and would need to be investigated. If possible, we could use incremental encoders/decoders for the standard StreamReader/Writer base classes or add new IncrementalStreamReader/Writer classes which then use the IncrementalEncode/Decoder per default.

Please open a new ticket for this.

Thanks.
History
Date User Action Args
2011-05-23 16:21:21lemburgsetrecipients: + lemburg, loewis, brett.cannon, rhettinger, pitrou, vstinner, eric.araujo, meatballhat
2011-05-23 16:21:21lemburgsetmessageid: <1306167681.22.0.0519616958649.issue8796@psf.upfronthosting.co.za>
2011-05-23 16:21:20lemburglinkissue8796 messages
2011-05-23 16:21:20lemburgcreate