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-July/112271.html below:

[Python-Dev] Draft PEP: Deprecate codecs.StreamReader and codecs.StreamWriter

[Python-Dev] Draft PEP: Deprecate codecs.StreamReader and codecs.StreamWriter [Python-Dev] Draft PEP: Deprecate codecs.StreamReader and codecs.StreamWriterVictor Stinner victor.stinner at haypocalc.com
Thu Jul 7 15:26:11 CEST 2011
Le 07/07/2011 12:53, Vinay Sajip a écrit :
> I've no issue with telling people to use open() rather than codecs.open() when
> moving code from 2.x to 3.x. But in 2.x, is there any other API which allows you
> to wrap arbitrary streams?
Yes, 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