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

Victor Stinner victor.stinner at haypocalc.com
Thu Aug 11 21:31:56 CEST 2011


Le 29/07/2011 19:01, Guido van Rossum a écrit :
>>>> 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)
(...)
>
> +1

Ok, most people prefer this option. Should I modify the PEP to "move" 
this option has the first/main proposition (move my proposition as an 
alternative?), or can the PEP be validated in the current state?

Victor


More information about the Python-Dev mailing list