Antoine Pitrou <pit...@free.fr> added the comment: If there are use cases of Stream{Reader,Writer} which are not covered by TextIOWrapper, it would be nice to know so that we can improve TextIOWrapper. After all, there should be one obvious way to do it ;)
By the way, something interesting (probably unintended): >>> codecs.open("LICENSE", "r") <_io.TextIOWrapper name='LICENSE' mode='r' encoding='UTF-8'> >>> codecs.open("LICENSE", "r", encoding="utf-8") <codecs.StreamReaderWriter object at 0x7f71846ac840> ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8796> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com