Issue1267425

classification
Title: patch to make cStringIO work with gzip.py
Type: Severity: normal
Components: None Versions:
Milestone:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: fwierzbicki, sgala
Priority: normal Keywords: patch

Created on 2005-08-23.20:26:48 by sgala, last changed 2006-05-15.02:53:00 by fwierzbicki.

Files
File name Uploaded Description Edit Remove
cStringIO.patch sgala, 2005-08-23.20:26:49 fixes the bug
Messages
msg2461 (view) Author: Santiago Gala (sgala) Date: 2005-08-23.20:26:48
cStringIO refuses to work with gzip, specifically when
called as

io = cStringIO(zipdata)
data = gzip.GzipFile(fileobj=io).read()

due to a couple of differences with StringIO in 2.2+
and a bug in seek()

msg2462 (view) Author: Frank Wierzbicki (fwierzbicki) Date: 2006-05-15.02:53:00
Logged In: YES 
user_id=193969

Accepted and applied.
History
Date User Action Args
2005-08-23 20:26:48sgalacreate