[Zope-dev] Zope 2.4.1 bugfix in RestrictedPython/__init__.py

2001-09-14 Thread Romain Slootmaekers
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.

Re: [Zope-dev] Zope 2.4.1 bugfix in RestrictedPython/__init__.py

2001-09-14 Thread Shane Hathaway
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.

[Zope-dev] pluggable indexes and ranking

2001-09-14 Thread kapil thangavelu
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

[Zope-dev] exceptions on windows

2001-09-14 Thread kapil thangavelu
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

Re: [Zope-dev] exceptions on windows

2001-09-14 Thread Andy McKay
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