100% agree... Just answered the specific question ;)
De : Chris Withers <chris@simplistix.co.uk> Date : Thu, 28 Sep 2006 09:07:33 +0100 À : Pascal Peregrina <Pperegrina@Lastminute.com> Cc : Alan <alanwilter@gmail.com>, <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 **********************************************************************