Martin Panter added the comment:

It would be nice to add test cases for this.

Looking at 
<https://docs.python.org/release/3.4.3/library/tempfile.html#tempfile.SpooledTemporaryFile>,
 there is a version changed notice for the truncate() method. So perhaps this 
should be added as a new feature for 3.6. On the other hand, the documentation 
doesn’t mention the specific API, so I would assume the relevant IOBase 
subclass, and this would be a bug.

----------
components: +Library (Lib)
nosy: +martin.panter
stage:  -> patch review
versions:  -Python 3.2, Python 3.3, Python 3.4

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

Reply via email to