[mod_python] import module behaviour ?!

Nicolescu Lucian lucian at tonicagency.com
Mon May 3 23:33:57 EST 2004


hi there,

I am a new into mod_python and there is a strange thing I noticed:
I use import <somefile_from_current_dir> to have access to some global
variables I need in my application (so I don't have to reinitialize it again
in another file)
the thing is that if I make any changes in <somefile_from_current_dir> they
will not be noticed until I restart apache
is there another way around this ?

btw: I use: apache 2.0.48, python 2.3.3, mod_python 3.1.3 !

10x,
Nicolescu Lucian



More information about the Mod_python mailing list