[issue26175] Fully implement IOBase abstract on SpooledTemporaryFile

nubirstein report at bugs.python.org
Tue Oct 30 08:43:59 EDT 2018


nubirstein <kowjan1 at gmail.com> added the comment:

My last comment meant to land somewhere else, but nonetheless it is related to this topic, so:

SpooledTemporaryFile class from lib/tempfile.py still does not implement seekable() method. It could be like this (just two lines of code and my Flask.Request tests with sending files started again to work on 3.7:

    def seekable(self):
        return self._file.seekable()

Is it possible to add this method?

----------

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


More information about the Python-bugs-list mailing list