New submission from Chris Withers: uses range instead of xrange in two places.
This results in excessive memory usage when opening large .gz files.
I actually bumped into this using tarfile.

Am I right in thinking that range basically *is* xrange in 3.x? If so, this bug 
applies only to 2.6 and 2.7.

assignee: cjw296
components: Library (Lib)
messages: 175176
nosy: cjw296
priority: normal
severity: normal
stage: needs patch
status: open
title: range usage in gzip module leads to excessive memory usage.
type: resource usage
versions: Python 2.6, Python 2.7

Python tracker <>
Python-bugs-list mailing list

Reply via email to