[Zope] An accessrule in python script

Gilles Lenfant glenfant@bigfoot.com
Tue, 2 Oct 2001 23:43:58 +0200


Danny,

I made the changes you suggested with no success.

Those test scripts gave me the same results after binding the namespace to
"_", I got:

== script 1 ==
from string import lower
return lower('SPAM')
=========

== script 2 ==
return _.string.lower('SPAM')
=========

In addition, it seems that "importing" in an accessrule slows down the
server.

Cheers,

--Gilles