On Thu, 28 Jul 2011 11:28:43 +0200
Victor Stinner <victor.stin...@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.


_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to