[Python-Dev] Adding Optik to 2.3 standard library (original) (raw)

Gustavo Niemeyer niemeyer@conectiva.com
Fri, 12 Apr 2002 15:04:24 -0300


Is python-bz2 a bzip2 module, similar to the zlib module? I think it would be nice to have the more space-efficient algorithm available,

It's a mix of what zlib and GzipFile provide. It has functions for dealing with direct (de)compression of data (one shot, and serial), and a complete file interface, inheriting from PyFile_Type.

but I really don't know how many people would use it. In the end, most people seem to want to work with ZIP (or JAR) files, and zlib supports that well enough.

I don't know either. I can't argue with you about zip files usage. I don't use zip by myself for a long time. But I'm a Linux user, and my environment is probably uncommon.

-- Gustavo Niemeyer

[ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ]