By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,814 Members | 1,136 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,814 IT Pros & Developers. It's quick & easy.

zlib written in python

P: n/a
Aloha,

is a pure _python_ implementation of the zlib available?
I have broken zlib streams and need to patch the deocder to
get them back.

Wishing a happy day
LOBI

Sep 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Andreas Lobinger wrote:
Aloha,

is a pure _python_ implementation of the zlib available?
I have broken zlib streams and need to patch the deocder to
get them back.

Wishing a happy day
LOBI

Check your zlib version: import zlib; print zlib.ZLIB_VERSION
There were some fixes you can see described at 'http://www.zlib.net/'
that are going into python 2.5. If you can figure it out yourself,
you could build an alternative zlib module to either sit beside
<pythondir>/DLLs/zlib.pyd or replace it.

--Scott David Daniels
Sc***********@Acm.Org
Sep 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.