[Zope] Black Magic

Chris Withers chrisw@nipltd.com
Tue, 10 Oct 2000 12:00:33 +0100


Pierre-Julien Grizel wrote:
> It seems that in fact the DTML document doesn't actually pass _.None and
> _ to my object. WHY ??????

This is deep voodoo that I don't fully understand. To me, it appears
that what you get depends on how your __call__ was called...

The arguments vary dependign on whether:
-you were called from a bit of DTML
-traversed directly through a URL
-called from soem python you wrote

Maybe someone from DC could shed some light on 'the rules' or point us
to soem documentation?

cheers,

Chris