Serhiy Storchaka added the comment: This looks similar to issue15216 and may be merged with it. At least setting line_buffering and encoding should have unified interface. I see two possibilities of making this Pythonic:
* Make attributes writeable. * Add a method (configure(), reopen(), or like) that takes new values as keyword arguments. This allows to change several attributes at a time. ---------- nosy: +ncoghlan, serhiy.storchaka _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30526> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com