Antoine Pitrou <pit...@free.fr> 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.
I would prefer to have a method. The side-effect is too violent to be hidden behind a property. Besides, you want to set encoding and errors in a single operation. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15216> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com