On Mon, Feb 02, 2009 at 08:01:54AM +0200, Stéfan van der Walt wrote:
The GzipFile in Python 2.5 does not support the 2nd ("whence") argument. The solution may be to use this wrapper from the EffBot: http://effbot.org/librarybook/gzip-example-2.py In order to "back-port" that functionality.
Unless I'm misunderstanding, even with the wrapper one can't actually seek backwards, which is what the numpy code wants to do.
In the meantime, I'm just using numpy.lib.format.read_array() directly.