Tres Seaver wrote:
Florent Guillaume wrote:
It might be possible to monkey patch only _checkPermission.func_code,
which seems to work on simple tests, but I've never tried it in real
>>> def f(a):
... print a+1
>>> def g(b):
... print b+2
>>> f.func_code = g.func_code
Heh, I thought about that, and then decided that tha voodoo factor was
too high to suggest.
This is voodoo at its best :) Will bookmark this for later!
Thank you and Cheers,
CTO, ParTecs, Bangalore
Zope-CMF maillist - Zope-CMF@lists.zope.org
See http://collector.zope.org/CMF for bug reports and feature requests