[IronPython] Zlib module

Jeff Hardy jdhardy at gmail.com
Sun Dec 21 21:30:10 CET 2008


Hello,
I've posted a mostly-complete zlib implementation at
http://cid-414fa1a9bd174b4b.skydrive.live.com/self.aspx/Public/IronPython.Zlib.zip.
It uses zlib.net from ComponentAce
(http://www.componentace.com/zlib_.NET.htm) which is an open source,
pure .NET implementation of zlib. This was necessary as I could not
figure out a way to emulate (de)compressobj using .NET DeflateStream.

It passes most of the zlib tests (there are a few that still fail),
and all of the gzip tests. The zipfile test are currently failing
because binascii.crc32 is not implemented. There are probably other
bugs I haven't found.

The source code is available at
http://www.bitbucket.org/jdhardy/code/src/tip/IronPython.Zlib/. You'll
need Mercurial to access it.

-Jeff



More information about the Ironpython-users mailing list