[issue35611] open doesn't call IncrementalEncoder with final=True
Martin Panter
report at bugs.python.org
Sat Dec 29 19:06:01 EST 2018
Martin Panter <vadmium+py at 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 <report at bugs.python.org>
<https://bugs.python.org/issue35611>
_______________________________________
More information about the Python-bugs-list
mailing list