Marc-Andre Lemburg <m...@egenix.com> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8796>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to