homepage

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 matthew.brett
Recipients gregory.p.smith, matthew.brett, pitrou
Date 2010年05月10日.22:48:39
SpamBayes Score 0.00024896386
Marked as misclassified No
Message-id <AANLkTik5JtUFNcU1A5qDRReex-ToRt7-_uJH94L-e_Z3@mail.gmail.com>
In-reply-to <1273531116.23499.4.camel@localhost.localdomain>
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?
Yes, except scipy and numpy aim in part to be an open-source
replacement for matlab, so we very much want to be able to read their
files.
>> 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
This is the only .mat file stream I have yet come across that causes
the error. It is possible to knock a portion off the end of a valid
stream to reproduce the problem?
History
Date User Action Args
2010年05月10日 22:48:40matthew.brettsetrecipients: + matthew.brett, gregory.p.smith, pitrou
2010年05月10日 22:48:39matthew.brettlinkissue8672 messages
2010年05月10日 22:48:39matthew.brettcreate

AltStyle によって変換されたページ (->オリジナル) /