Yo dudes,
VSEval in Documenttemplate tries to set Eval
No problem but RestictedPython has no Eval attribute by default
so you need to import it
add this line to RestrictedPython/__init__.py
import Eval
can someone add this to the source tree ?
Tia have fun,
Sloot.
Romain Slootmaekers wrote:
Yo dudes,
VSEval in Documenttemplate tries to set Eval
No problem but RestictedPython has no Eval attribute by default
so you need to import it
add this line to RestrictedPython/__init__.py
import Eval
Actually, VSEval currently does *not* apply restrictions.
i've hooked up some external indexing machinery to zcatalog
via a pluggable index. i get backed ranked results and i'd like not
to loose the ranking info, but i don't know how to return a result
set that preserves this information. any ideas?
-kapil
i've always been curious why zope on windows with
a bundled python seems to have problems with finding
the standard lib exceptions. does anyone know why?
for example
from exceptions import SyntaxError
class MySyntaxErr(SyntaxError):
pass
in a product generates an import error.
(i last
Wild guess... theres a module /lib/python/Interface/Exceptions.py. In Python
1.5.2 doesnt that mean windows will import that rather than exceptions.py?
Cheers.
--
Andy McKay.
- Original Message -
From: kapil thangavelu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, September