New submission from Gary Fernie:

SpooledTemporaryFile does not fully satisfy the abstract for IOBase.
Namely, `seekable`, `readable`, and `writable` are missing.

This was discovered when seeking a SpooledTemporaryFile-backed lzma file.
You may quickly repro this:
`lzma.open(SpooledTemporaryFile()).seek(0)`

----------
files: fix-SpooledTemporaryFile-IOBase-abstract.patch
keywords: patch
messages: 258769
nosy: Gary Fernie
priority: normal
severity: normal
status: open
title: Fully implement IOBase abstract on SpooledTemporaryFile
type: behavior
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6
Added file: 
http://bugs.python.org/file41685/fix-SpooledTemporaryFile-IOBase-abstract.patch

_______________________________________
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