[Zope] Zope supports Python builin functions?

picasso@videotron.ca picasso@videotron.ca
Tue, 14 Sep 1999 17:56:09 -0400


Hi,

Does Zope support Python builtin functions outside External Methods?

I made a DTML Methode with juste one line:
<dtml-var "4==5"> after clicking on the view tab I got:
0
Perfect.
Then I change the line to:
<dtml-var "type([])==type({})">
Viewing it displays:
************
Zope Error
Zope has encountered an error while publishing this resource. 

Error Type: NameError
Error Value: type
etc.......
************

I know the test is stupid, i just wanted to know if it was possible to use
Python builin function inside a simple DTML Method.
I understand it's not. Is it right?