Message5485

Author pjenvey
Recipients ita, pjdm, pjenvey, spiritmech
Date 2010-02-02.19:53:14
SpamBayes Score 7.970311e-09
Marked as misclassified No
Message-id <1265140394.92.0.360973190056.issue1445@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a jython-dev thread with a little more detail

http://markmail.org/message/fwpt4nlvgiskgfur

Basically we can implement bz2 with the Apache library but it does not support streaming of decompression (which Python's bz2.BZ2Decompressor does). It should support encoding via a stream however (bz2.BZ2Compressor).

This would be better than nothing as I think most uses of the bz2 module are via bz2.BZ2File, which doesn't stream

Another alternative is a former Jython contributor tried implementing a port of the libbz2 C code to Java for his Jythonx project. I don't know what state this code is in though
History
Date User Action Args
2010-02-02 19:53:14pjenveysetmessageid: <1265140394.92.0.360973190056.issue1445@psf.upfronthosting.co.za>
2010-02-02 19:53:14pjenveysetrecipients: + pjenvey, ita, pjdm, spiritmech
2010-02-02 19:53:14pjenveylinkissue1445 messages
2010-02-02 19:53:14pjenveycreate