[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Problem with pygame.image.load() and a gzip.open() stream



Lenard Lindstrom wrote:

Further testing shows the problem is specific to GzipFile. It has nothing to do with classic classes. So option (3) is worthless.


Got it. GzipFile.seek() has no optional whence argument. pygame.image.load calls seek() with both an offset and whence, but does not pass on the exception raised by GzipFile.seek().

--
Lenard Lindstrom
<len-l@xxxxxxxxx>