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

2011-05-24 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8796 ___ ___ Python-bugs-list

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

2011-05-23 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- title: Deprecate codecs.open() - Deprecate codecs.open(), codecs.StreamReader and codecs.StreamWriter ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8796

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

2011-05-23 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- status: - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8796 ___ ___

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

2011-05-23 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Closing the ticket again. We still need codecs.open() to support applications that target Python 2.x and 3.x. You can reopen it after Python 2.x has been end-of-life'd. -- resolution: - postponed status: open - closed

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

2011-05-23 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Le lundi 23 mai 2011 à 16:11 +, 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

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

2011-05-23 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Correcting the title: this ticket is about codecs.open(), not StreamRead and StreamWriter, both of which are essential parts of the Python codec machinery and are needed to be able to implement per-codec implementations of codecs which

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

2011-05-23 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: TextIOWrapper() is conceptually something completely different. It's more something like StreamReaderWriter(). That's a rather strange assertion. Can you expand? TextIOWrapper supports read-only, write-only, read-write, unseekable and seekable

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

2011-05-23 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Antoine Pitrou wrote: Antoine Pitrou pit...@free.fr added the comment: TextIOWrapper() is conceptually something completely different. It's more something like StreamReaderWriter(). That's a rather strange assertion. Can you expand?