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

[Python-Dev] Status of the PEP 400? (deprecate codecs.StreamReader/StreamWriter)

[Python-Dev] Status of the PEP 400? (deprecate codecs.StreamReader/StreamWriter) [Python-Dev] Status of the PEP 400? (deprecate codecs.StreamReader/StreamWriter)Antoine Pitrou solipsis at pitrou.net
Fri Jul 29 17:17:31 CEST 2011
On Thu, 28 Jul 2011 11:28:43 +0200
Victor Stinner <victor.stinner at haypocalc.com> wrote:
> 
> I will add your alternative to the PEP (except if you would like to do 
> that yourself?). If I understood correctly, you propose to:
> 
>   * rename codecs.open() to codecs.open_stream()
>   * change codecs.open() to reuse open() (and so io.TextIOWrapper)
> 
> (and don't deprecate anything)

This may be an interesting approach. In a few years, we can evaluate
whether users are calling open_stream(), and if there aren't any, we
can deprecate the whole thing.

Regards

Antoine.


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