No more list comprehension in Chameleon 1.1.2

Bug #531957 reported by Yves MAHE
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Chamelon Core
Fix Released
Undecided
Unassigned

Bug Description

With chameleon.core-1.0b36-py2.5 and chameleon.zpt-1.0b17-py2.5, list comprehension inside a ZPT was OK.

With Chameleon 1.1.2, it's no more possible.

Example:

<li tal:condition="'Administrateurs' in [g.name for g in api.groups]">

Revision history for this message
Malthe Borch (mborch) wrote : Re: [Bug 531957] [NEW] No more list comprehension in Chameleon 1.1.2

On 4 March 2010 18:27, Yves MAHE <email address hidden> wrote:
> <li tal:condition="'Administrateurs' in [g.name for g in api.groups]">

This needs to be fixed in ``chameleon.ast.astutils`` (really, any
fixes to this file should be communicated to the Genshi team).

\malthe

Malthe Borch (mborch)
Changed in chameleon.core:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.