[ZCM] [ZC] 1468/ 1 Request ""Python expression error" in Zope 2.7"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Sat Aug 14 04:49:04 EDT 2004


Issue #1468 Update (Request) ""Python expression error" in Zope 2.7"
 Status Pending, Zope/bug medium
To followup, visit:
  http://zope.org/Collectors/Zope/1468

==============================================================
= Request - Entry #1 by chrisw on Aug 14, 2004 4:49 am

Try putting the following in a ZPT:

<tal:x replace="python:'test';"/>

You'll get the following error:

Compilation failed
TAL.TALDefs.TALError: Python expression error:
unexpected EOF while parsing (Python expression "'test';", line 1) in expression "python:'test';", at line 1, column 1

You didn't in Zope 2.6, and it causes lots of fun'n'games when upgading sites.
==============================================================



More information about the Zope-Collector-Monitor mailing list