This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients matthew.brett, pitrou
Date 2010-05-10.22:36:06
SpamBayes Score 6.346522e-05
Marked as misclassified No
Message-id <1273531116.23499.4.camel@localhost.localdomain>
In-reply-to <AANLkTilQvgCGHDf7hkmstkcqvNpatJXjp6B-shd_H4_1@mail.gmail.com>
Content
> Thanks for the debugging.  The stream comes from within a matlab 'mat'
> file.  I maintain the scipy matlab file readers; the variables within
> these files are zlib compressed streams.

So this would be a Matlab issue, right?

>  Is there (should there be) a safe and maintained way to allow me to
> read a stream that does not return Z_STREAM_END?

Decompressor objects allow you to do that, but I cannot tell you how
"maintained" it is. If it has to be maintained, we could add an unit
test for it so that regressions get detected. It would be nice if you
could provide a very short zlib stream reproducing the issue.
History
Date User Action Args
2010-05-10 22:36:10pitrousetrecipients: + pitrou, matthew.brett
2010-05-10 22:36:06pitroulinkissue8672 messages
2010-05-10 22:36:06pitroucreate