[Pkg-zope-developers] Bug#340542: zope2.8: invalid syntax in file breaks install

Derrick Hudson dman at dman13.dyndns.org
Fri Nov 25 15:12:13 UTC 2005


On Wed, Nov 23, 2005 at 11:46:16PM -0200, Gustavo Noronha Silva wrote:

|   File "/usr/lib/zope2.8/lib/python/RestrictedPython/tests/before_and_after24.py", line 30
|     x = (y**2 for y in whatever if y > 3)
|                 ^
| SyntaxError: invalid syntax

This is a new feature added in python2.4.  It is similar to a list
comprehension, except this produces a generator object instead of a
list.

(just FYI;  I don't know if 2.8 now requires python 2.4 or if only
that test does and it should just be removed from the package or if
it should be backported to 2.3 or what would be the best resolution)

-D 

-- 
He who scorns instruction will pay for it,
but he who respects a command is rewarded.
        Proverbs 13:13
 
www: http://dman13.dyndns.org/~dman/            jabber: dman at dman13.dyndns.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-zope-developers/attachments/20051125/16af2725/attachment.pgp


More information about the Pkg-zope-developers mailing list