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

STINNER Victor report at bugs.python.org
Tue Aug 7 04:09:03 CEST 2012


STINNER Victor added the comment:

> My implementation permits to change both (encoding, errors, encoding and errors).

We may also add a set_errors() method:

def set_errors(self, errors):
   self.set_encoding(self.encoding, errors)

----------

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


More information about the Python-bugs-list mailing list