15 Jun
2001
15 Jun
'01
2:55 p.m.
On Fri, 15 Jun 2001, Evan Simpson wrote:
Morten W. Petersen wrote:
one of my products landed flat on its face when an ImportError was raised trying to import VSEval from DocumentTemplate; is there a new class / function of some sort or simply another name for the class?
See $ZOPE/lib/python/RestrictedPython. That replaces both DocumentTemplate's VSEval and PythonScripts' zbytecodehacks. It contains an Eval class that should be drop-in compatible with the old one.
Ok, (for future reference) replacing all the VSEval.Eval references with Eval.RestrictionCapableEval fixed it. Thanks & Cheers, Morten