[mod_python] handler module loading/execution phases

Alessandro de Manzano demanzano at playstos.com
Fri Oct 16 02:48:00 EDT 2009


Graham Dumpleton wrote:
> I don't know then. The code looks reasonable. I can only suggest you
> add more and more debug, including your own logging at module scope to
> track when imported.
> 
> Also ensure you read the 'import_module()' section of:
> 
>   http://www.modpython.org/live/current/doc-html/pyapi-apmeth.html

yep, reading very carefully seems that the _mp_clone_() method could be 
used to achieve what I need, also if not very easly ;)


> If still stumped, perhaps look at using a WSGI framework and mod_wsgi instead.

I admit I don't know about WSGI, already heard about it but never used. 
I'll look into it.

thanks!

bye

Ale


More information about the Mod_python mailing list