[issue26730] SpooledTemporaryFile rollover corrupts data silently when Unicode characters are written

Karthikeyan Singaravelan report at bugs.python.org
Thu Nov 28 03:27:28 EST 2019


Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:

> Note that the _file attribute may be TextIOWrapper after rollover() anyway and the rollover() may be called implicitly.
The code depending on the specific type of the _file is fragile at first.

Okay, thanks for the detail.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue26730>
_______________________________________


More information about the Python-bugs-list mailing list