[mod_python] mod_python executing old versions of my code

Graham Dumpleton grahamd at dscpl.com.au
Thu Jan 26 20:13:21 EST 2006

Jim Gallacher wrote ..
> It's not so much that you shouldn't use import, it's just that each 
> intepreter will get it's own copy of of your ns dictionary. You have to
> get into a different mindset when working with the apache prefork. 
> Pretend that each apache child is a completely independent application
> and you'll get some insight into what's going on. The way you are doing
> things will work in threaded-mpm but it's a non-starter for prefork or
> worker. It's also a useful for pulling static data, such as 
> configuration data, into you application.

To help you understand what Jim is talking about, read this:



More information about the Mod_python mailing list