Graham Dumpleton wrote:
The apache.import_module() method is already currently used to perform the
top level import of a handler module and already behaves differently to a
standard "import", so even without an import hook you already have a problem.

You're right; when I hit apache with ab, I get all sorts of import problems when importing handlers. Well, even with ab the failure rate is less than 10%; it's just something I accept and start enough servers to mitigate the problem.

The ihooks module is deprecated and is not used in any way in the new

I was suggesting to use it solely as an example to benchmark how a pure Python importing mechanism would perform. God, I hope nobody ever tries to use it for any purpose other than educational!

[...other stuff here that I appreciate the problems in dealing with, but IMO are handler specific..]

Even in Vampire where I have the import hook stuff working, it isn't on by default
and I would not suggest that it should be on by default.

Then why are we debating this? :-)  We seem to be in agreement here.

Nick

Reply via email to