[issue27345] GzipFile's readinto() reads gzip data instead of file data.
Ryan Birmingham added the comment: It seems to work as expected in python 3.5 (and at least up, presumably). I'll close it. Thank you. -- status: open -> closed ___ Python tracker <http://bugs.python.org
[issue27345] GzipFile's readinto() reads gzip data instead of file data.
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 mes