[issue30526] Allow setting line_buffering on existing TextIOWrapper

Antoine Pitrou report at bugs.python.org
Thu Jun 1 05:50:27 EDT 2017


Antoine Pitrou added the comment:

I don't think those two issues need to be merged.  Setting line_buffering and write_through is almost trivial, while setting the encoding seems to take a significant amount of effort.

That said, I agree that a unified interface may be nice.  Perhaps a reconfigure(**kwargs) method?

----------

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


More information about the Python-bugs-list mailing list