def ungzipper(fh, blocksize=<NUM_LIT>):
import zlib<EOL>uzip = zlib.decompressobj(<NUM_LIT:16> + zlib.MAX_WBITS)<EOL>data = uzip.decompress(fh.read(blocksize)).split("<STR_LIT:\n>")<EOL>while len(data[<NUM_LIT:0>]):<EOL><INDENT>save = data.pop()<EOL>for line in data:<EOL><INDENT>yield line<EOL><DEDENT>data = uzip.decompress(fh.read(blocksize)).split("<STR_LIT:\n>")<EOL>data[<NUM_LIT:0>] = save + data[<NUM_LIT:0>]<EOL><DEDENT>
work-around to get streaming download of http://.../some.gz