diff --git a/pep-0400.txt b/pep-0400.txt index 004dcd89e..6bee2f89f 100644 --- a/pep-0400.txt +++ b/pep-0400.txt @@ -210,6 +210,14 @@ StreamWriter will be removed in Python 3.4 (or maybe later). .. _Appendix A: +Alternative Approache +===================== + +An alternative to the deprecation of the codecs.Stream* classes is to rename +codecs.open() to codecs.open_stream(), and to create a new codecs.open() +function reusing open() and so io.TextIOWrapper. + + Appendix A: Issues with stateful codecs =======================================