On Mon, May 22, 2006 at 03:41:21AM +0200, Philipp von Weitershausen wrote:
> Philipp von Weitershausen wrote:
> > http://svn.zope.org/Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/tests/testDTMLTests.py?rev=68229&view=auto
> > http://svn.zope.org/Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/tests/testHTMLTests.py?rev=68230&view=log
> 
> I meant
> 
> http://svn.zope.org/Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/tests/testHTMLTests.py?rev=68230&view=log
> http://svn.zope.org/Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/tests/testExpressions.py?rev=68229&view=auto
> 
> instead.

Re. one of your questions:

        #    there are ways to make code compatible with 2.9 and 2.10:
        #    Add a nocall: before the python: expression (if that's
        #    possible?!?). 


Yes, it's possible. This works fine in 2.9:

  <p tal:define="blah nocall:python:int" tal:content="python:blah('1')+2">
  </p>

-- 

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

Reply via email to