Indeed Im for fixing it...its on my list of things to do...right after
'do everything the company want RSN'!!!!
I do believe it should be mod_python that is fixed. I have a VERY big
need for reload of modules *without* taking down my server - end users
are using it and credit card transactions are taking place....I cannot
afford to take it down...
As for vampire - why would I want vampire? mod_python is great except
this. I personally have no interest in adding yet more software to my
system just to solve the mod_python import issue - Id rather it was
fixed in the right place...not everyone uses vampire...
Nick wrote:
I'm all for fixing the importing of handler modules, because that can
bite you if they are being loaded and initialized under heavy load in
the same process in different threads.
? Surely not in different interpreters - and as mod_python uses a number
of interpreters surely this is not an issue...or are we saying python
itself is not thread safe in this regard?
As for user imports in general, I would prefer that everything work in a
standard Python way out of the box. mod_python should be what it is --
an interface to apache. That's most useful for application and
framework developers I think. Otherwise you could end up breaking other
people's applications and frameworks who have resolved the problem in a
different way.
agreed....but...optional functionality to stop us having to restart
apache would be good...and I consider that that is part of
'interfacing'. It solves a problem that is inherent in 'interfacing'.
I'm not opposed to providing some sort of module or function for psp or
publisher or whatever "example" handlers that come with mod_python, just
so long as it's not in the core of mod_python itself. To me this is an
application/framework issue, not a mod_python issue. That said, the
behaviour should probably be documented well so people can avoid the
pitfalls.
quite. From my perspective its like this...either it can be solved as a
group here and in mod_python or ill solve it in my way outside of
mod-python....but whatever happens the business driver states I cannot
take down a web server - its like antivirus software asking you to
reboot your machine every time it updates (no tales of woah please...ive
heard them already!)
Barry