A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-May/111614.html below:

[Python-Dev] Deprecate codecs.open() and StreamWriter/StreamReader

[Python-Dev] Deprecate codecs.open() and StreamWriter/StreamReader [Python-Dev] Deprecate codecs.open() and StreamWriter/StreamReaderVictor Stinner victor.stinner at haypocalc.com
Tue May 24 12:58:01 CEST 2011
Le mardi 24 mai 2011 à 12:42 +0200, Łukasz Langa a écrit :
> Wiadomość napisana przez Walter Dörwald w dniu 2011-05-24, o godz. 12:16:
> 
> >> I don't see which usecase is not covered by TextIOWrapper. But I know
> >> some cases which are not supported by StreamReader/StreamWriter.
> > 
> > This could be be partially fixed by implementing generic
> > StreamReader/StreamWriter classes that reuse the incremental codecs, but
> > I don't think thats worth it.
> 
> Why not?

We have already an implementation of this idea, it is called
io.TextIOWrapper.

Victor

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4