quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Tusk <sebastian.t...@gmx.net>
Subject module reload via interpreter restart
Date Sat, 07 Dec 2002 16:21:15 GMT
As i am a bit annoyed by the way the auto reload mechanism works, i have 
done a patch that implements another way doing this.

Everytime a change of a module is detected the interpreter responsible 
for the request is destroyed and a new one is created. So you get a new 
clean environment without any clutter in the namespace.

new server directive: PythonAutoReloadInterpreter {On, Off}

Here the patch download. 
http://home.snafu.de/tusk/svg/httpd-python.patch.gz The patch is done 
against the HEAD of branch-2-7-7.

Sebastian


Mime
View raw message