INADA Naoki added the comment: I had not read the patch carefully when updating. Now I'm reading pure Python part of the patch.
For writing side, this patch is very simple. For reading side, this patch is very complex, because TextIOWrapper.tell() and .seek() is complex already. How about starting this API which works only when `self._decoder is None`? Regardless acceptance of PEP 538 and PEP 540, this is important to change stdio encoding. We already failed to ship this important API in 3.6. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15216> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com