100% agree... Just answered the specific question ;)

> De : Chris Withers <[EMAIL PROTECTED]>
> Date : Thu, 28 Sep 2006 09:07:33 +0100
> À : Pascal Peregrina <[EMAIL PROTECTED]>
> Cc : Alan <[EMAIL PROTECTED]>, <zope@zope.org>
> Objet : Re: [Zope] Dictionary in ZPT
> 
> Pascal Peregrina wrote:
>> Hi,
>> 
>> I am not sure about your use case, but this should work:
>> 
>> ...
>> tal:define="global count python: 0; global data python: {}"
>> ...
>> tal:define="null python: data.update({'jname':jname});"
>> ...
> 
> ...and anyone writing code like that should be taken out back and loudly
> shot...
> 
> Chris
> 
> -- 
> Simplistix - Content Management, Zope & Python Consulting
>             - http://www.simplistix.co.uk



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to