[Zope] non-External Methods

Oleg Broytmann phd@sun.med.ru
Thu, 11 Mar 1999 19:11:58 +0300 (MSK)


Hi!

   Thank you!

On Thu, 11 Mar 1999, Pavlos Christoforou wrote:
> Well this is how I understood the process.
> 
> Basically the code is read and exec-ed and the the func_code
> func_code.co_varnames are extracted. Then they apply all the clever tricks
> to turn the function into a valid Zope method, by (I assume) creating a
> Zope method and replacing its func_code and the associated func_defaults
> and arguments with the ones extracted from the external function.
> 
> The relevant code can be found in
> Zope/lib/python/App/Extensions.py and
> Zope/lib/python/Products/ExternalMethod/ExternalMethod.py
> 
> 
> Pavlos

Oleg.
---- 
    Oleg Broytmann  National Research Surgery Centre  http://sun.med.ru/~phd/
           Programmers don't die, they just GOSUB without RETURN.