[issue26730] SpooledTemporaryFile doesn't correctly preserve data for text (non-binary) SpooledTemporaryFile objects when Unicode characters are written

R. David Murray report at bugs.python.org
Sun Apr 10 15:25:33 EDT 2016


R. David Murray added the comment:

I can't see why it even does the seek.  The existing tests pass without it.  Does your example?

Either way, the first step here is for someone to turn this into a unit test for the tempfile module (in test_tempfile).

----------
nosy: +r.david.murray
stage:  -> needs patch
versions: +Python 3.5, Python 3.6 -Python 3.4

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


More information about the Python-bugs-list mailing list