[mod_python] Multiple loading of same module with winnt MPM

Michael Sanders m.r.sanders at gmail.com
Thu May 10 08:35:34 EDT 2007


Graham Dumpleton wrote:
> Can you make the following modification to:
> 
>  lib/python/mod_python/importer.py
> 
> and reinstall mod_python. If using binary version of mod_python make
> the change to your installed mod_python files.
> 
> The change is in __init__() function of _CacheInfo class. Change
> initialiser for 'reload' attribute from:
> 
>        self.reload = 0
> 
> to:
> 
>        self.reload = 1
> 
> I think that might be stuffing up the logic for case where module has
> never been loaded before.
> 
> Let me know if that changes anything.

No, I'm getting the same behaviour as before.

Thanks,
Michael




More information about the Mod_python mailing list