Re: [Zope-dev] Where did DocumentTemplate/VSEval.py go in 2.4.0a1?
Michel Pelletier wrote: > Should we make an alias for bw-compatability? This is now in the trunk, along with some other compatibility changes that allow Python Methods to continue working, courtesy of the NewZopeOrg migration project. Cheers, Evan @ digicool ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Where did DocumentTemplate/VSEval.py go in 2.4.0a1?
Should we make an alias for bw-compatability? -Michel 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. > > Cheers, > > Evan @ digicool > > > ___ > Zope-Dev maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) > ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Where did DocumentTemplate/VSEval.py go in 2.4.0a1?
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 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Where did DocumentTemplate/VSEval.py go in 2.4.0a1?
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 ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )