Martin Panter <vadmium...@gmail.com> added the comment:

FWIW this happens with the built-in IDNA codec, and Amaury gave a demonstration 
under <https://bugs.python.org/issue17404#msg184045>.

I don’t think the “TextIOWrapper.flush” method should use final=True, but 
“close” and “detach” probably should.

----------
nosy: +martin.panter

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35611>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to