[Zope-dev] Where did DocumentTemplate/VSEval.py go in 2.4.0a1?

Evan Simpson evan@4-am.com
Fri, 15 Jun 2001 10:16:03 -0400


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.

Cheers,

Evan @ digicool