[issue15216] Support setting the encoding on a text stream after creation

Matthew Barnett report at bugs.python.org
Sat Jun 30 18:24:09 CEST 2012


Matthew Barnett <python at mrabarnett.plus.com> added the comment:

Would a "set_encoding" method be Pythonic? I would've preferred an "encoding" property which flushes the output when it's changed.

----------
nosy: +mrabarnett

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


More information about the Python-bugs-list mailing list