[Python-de] Re: Quixote
Guido Goldstein
guido.goldstein at a-nugget.de
Die Jul 13 21:35:48 CEST 2004
Hi!
On Tue, 13 Jul 2004 18:33:50 +0200
Thomas Guettler<guettli at thomas-guettler.de> wrote:
[...]
> Ich habe mod_python nocht nicht verwendet, aber ich denke, dass der
> Code nicht automatisch neu geladen wird.
Dann solltest Du auch nicht solche Behauptungen loslassen.
Aus dem mod_python Manual:
--- cut ---
5.4.8 PythonAutoReload
Syntax: PythonAutoReload {On, Off}
Default: PythonAutoReload On
Context: server config, virtual host, directory, htaccess
Override: not None
Module: mod_python.c
If set to Off, instructs mod_python not to check the modification
date of the module file.
By default, mod_python checks the time-stamp of the file and reloads
the module if the module's file modification date is later than the
last import or reload. This way changed modules get automatically
reimported, eliminating the need to restart the server for every change.
Disabling autoreload is useful in production environment where the
modules do not change; it will save some processing time and give a
small performance gain.
--- cut ---
(Umbruch angepasst)
http://www.modpython.org/live/current/doc-html/
sollte die meisten Fragen beantworten.
MfT
Guido
--
Guido Goldstein