[issue19274] make zipfile.PyZipFile more usable

Christian Tismer report at bugs.python.org
Wed Oct 16 23:59:41 CEST 2013


Christian Tismer added the comment:

Here is my use case as an example.
With this patch above, I can easily create a .zip file of the standard lib.

This was no longer possible at all, after revision 17558,
from 2001-04-18:

"""This is a test"""
from __future__ import nested_scopes
from __future__ import rested_snopes

def f(x):
    def g(y):
        return x + y
    return g

print f(2)(4)

----------
Added file: http://bugs.python.org/file32151/make_libzip.py

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


More information about the Python-bugs-list mailing list