Jeff Hardy wrote:
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.
That's great news Jeff - thanks for your efforts.
Michael Foord
-Jeff
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
--
http://www.ironpythoninaction.com/
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com