[issue8796] Deprecate codecs.open(), codecs.StreamReader and codecs.StreamWriter

STINNER Victor report at bugs.python.org
Mon May 23 18:20:43 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

Le lundi 23 mai 2011 à 16:11 +0000, Marc-Andre Lemburg a écrit :
> We still need codecs.open() to support applications that target Python 2.x and 3.x.

io.TextIOWrapper exists in Python 2.6 and 2.7, and 2to3 can simply
replace codecs.open() by open().

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8796>
_______________________________________


More information about the Python-bugs-list mailing list