Martin Panter added the comment:
There is apparently some work done on this already in Issue 26175.
--
nosy: +martin.panter
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Fully implement IOBase abstract on SpooledTemporaryFile
_
New submission from Greg Matous :
SpooledTemporaryFile returns alternately a buffer or a TemporaryFile().
In either case it should behave like a file-thing.
However it doesn't implement certain properties in IOBase like readable,
seekable which seems like should be available.
for example, on U