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

2016-06-18 Thread Ryan Birmingham

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 
<http://bugs.python.org/issue27345>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2016-06-22 Thread Ryan Birmingham

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>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com