[mod_python] Vampire for module reloading

Graham Dumpleton grahamd at dscpl.com.au
Wed Jul 6 03:12:14 EDT 2005


Julien wrote ..
> On Wed, 2005-07-06 at 02:58 -0300, Gonzalo Sainz-Trápaga wrote:
> > Hi,
> 
> Hello
> 
> > I am developing a web application in Python and I have advanced quite
> a
> > bit. I always restart my Apache instance in order to have my modules
> > reloaded when I modify them.
> 
> in place of import your_module try apache.import_module("your_module",
> log=1, autoreload=1), and try the PythonAutoReload configuration
> directive.

If they aren't doing that, it is at least a start. But the real problem is
that apache.import_module() has various problems and if you use
it, you will still have to restart Apache in various cases. Therefore,
it doesn't really solve the problem of avoiding restarts altogether.


More information about the Mod_python mailing list