Sworddragon added the comment: > I'm closing the issue as invalid, because Python 3 behaviour is correct > and > must not be changed.
The fact that write() uses sys.getfilesystemencoding() is either a defect or a bad design (I leave the decision to you). But I'm still missing a reply to my suggestion. As I'm seeing it has no disadvantages to give the developer optionally the control. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19846> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com