[Zope-dev] Where did DocumentTemplate/VSEval.py go in 2.4.0a1?
Morten W. Petersen
morten@thingamy.net
Fri, 15 Jun 2001 16:55:46 +0200 (CEST)
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