[issue19274] make zipfile.PyZipFile more usable

Christian Tismer report at bugs.python.org
Wed Oct 16 23:43:52 CEST 2013


New submission from Christian Tismer:

zipfile.PyZipFile needs a filter function.

Reason:
When creating an archive of the python lib, we don't want the tests.
Especially the test file "badsyntax_future3.py" does not compile.

Use case:

With this little addition, it becomes very easy to create a zip file
of the whole python library. See the attached use case.

----------
components: Library (Lib)
files: zipfile.diff
keywords: patch
messages: 200088
nosy: Christian.Tismer
priority: normal
severity: normal
status: open
title: make zipfile.PyZipFile more usable
type: enhancement
versions: Python 2.7
Added file: http://bugs.python.org/file32150/zipfile.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19274>
_______________________________________


More information about the Python-bugs-list mailing list