[issue14366] Suporting bzip2 and lzma compression in zip files

2012-03-18 Thread Serhiy Storchaka

New submission from Serhiy Storchaka :

ZIP files specification supports new compression algorithms since 2006. Since 
bzip2 and lzma now contained in Python standart library, it would be nice to 
add support for these methods in zipfile. This will allow to process more 
foreign zip files and create more compact distributives.

The proposed patch adds two new methods ZIP_BZIP2 and ZIP_LZMA, which are 
automatically detecting when unpacking and that can be used for packing.

--
components: Library (Lib)
files: bzip2_and_lzma_in_zip.patch
keywords: patch
messages: 156288
nosy: storchaka
priority: normal
severity: normal
status: open
title: Suporting bzip2 and lzma compression in zip files
type: enhancement
versions: Python 3.3
Added file: http://bugs.python.org/file24931/bzip2_and_lzma_in_zip.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14366] Suporting bzip2 and lzma compression in zip files

2012-03-18 Thread Nadeem Vawda

Changes by Nadeem Vawda :


--
nosy: +alanmcintyre, nadeem.vawda

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14366] Suporting bzip2 and lzma compression in zip files

2012-03-18 Thread Serhiy Storchaka

Serhiy Storchaka  added the comment:

This is not completed patch yet, without tests and documentation. I would like 
to receive feedback before the end of polishing. It might be worth transfer a 
portion of code in _lzmamodule.c for better use of capacity of LZMA API (used 
in zip format somewhat differs from LZMA_ALONE).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14366] Suporting bzip2 and lzma compression in zip files

2012-03-18 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


Added file: http://bugs.python.org/file24932/sample-bzip2.zip

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14366] Suporting bzip2 and lzma compression in zip files

2012-03-18 Thread Serhiy Storchaka

Changes by Serhiy Storchaka :


Added file: http://bugs.python.org/file24933/sample-lzma.zip

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com