[Python-3000] Providing compress/uncompress functions in gzip

Anand Balachandran Pillai abpillai at gmail.com
Fri Aug 1 19:59:08 CEST 2008


Hi Benjamin,

  Filed http://bugs.python.org/issue3488.

Btw I have a fix ready for this, but I am not in the developer list and
do not have permissions for checkins.

Thanks

--Anand

On Fri, Aug 1, 2008 at 9:02 PM, Benjamin Peterson
<musiccomposition at gmail.com> wrote:
> On Fri, Aug 1, 2008 at 8:57 AM, Anand Balachandran Pillai
> <abpillai at gmail.com> wrote:
>> Python has great in-built support for all sorts of text compression
>> including bzip, gzip, tarfile and other general purpose modules like
>> zlib etc.
>>
>> Of these, I have a gripe with gzip - it does not provide a simple
>> way of compressing/uncompressing a string like the other modules
>> to (namely bzip, zlib) at the module level.
>>
>> It is relatively easy to perform gzip de-compression using the
>> GzipFile class and StringIO objects, but compression is not
>> that straight-forward.
>>
>> It would be great for the gzip module to have "compress"
>> and "uncompress" functions at the module level without having
>> to go through GzipFile every-time.
>>
>> If it is not too late in the dev-cycle, please consider this.
>
> Please file a feature request ticket on the tracker: http://bugs.python.org.
>>
>> Thanks
>>
>> --
>> -Anand
>> _______________________________________________
>> Python-3000 mailing list
>> Python-3000 at python.org
>> http://mail.python.org/mailman/listinfo/python-3000
>> Unsubscribe: http://mail.python.org/mailman/options/python-3000/musiccomposition%40gmail.com
>>
>
>
>
> --
> Cheers,
> Benjamin Peterson
> "There's no place like 127.0.0.1."
>



-- 
-Anand


More information about the Python-3000 mailing list