[New-bugs-announce] [issue27345] GzipFile's readinto() reads gzip data instead of file data.

Ryan Birmingham report at bugs.python.org
Sat Jun 18 03:15:55 EDT 2016


New submission from Ryan Birmingham:

In cases where libraries try to call readinto(), the results are unexpected (the gzip data). Shouldn't it instead raise UnsupportedOperation for readinto() (and truncate())?

----------
components: IO
files: gzip_readinto.patch
keywords: patch
messages: 268773
nosy: Ryan Birmingham
priority: normal
severity: normal
status: open
title: GzipFile's readinto() reads gzip data instead of file data.
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file43446/gzip_readinto.patch

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


More information about the New-bugs-announce mailing list