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

M.-A. Lemburg mal at egenix.com
Fri Jul 29 19:14:16 CEST 2011


Victor Stinner wrote:
> Le 28/07/2011 11:28, Victor Stinner a écrit :
>>> Please do keep the original implementation
>>> around (e.g. renamed to codecs.open_stream()), though, so that it's
>>> still possible to get easy-to-use access to codec StreamReader/Writers.
>>
>> 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)
> 
> I added your proposal to the PEP as an "Alternative Approache".

Thanks.

-- 
Marc-Andre Lemburg
eGenix.com

Professional Python Services directly from the Source  (#1, Jul 29 2011)
>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try our new mxODBC.Connect Python Database Interface for free ! ::::


   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
           Registered at Amtsgericht Duesseldorf: HRB 46611
               http://www.egenix.com/company/contact/


More information about the Python-Dev mailing list