> However, this might not be guaranteed in a plain-CGI deployment: the CGI > handler (the interpreter) could die before __del__ is called > (since __del__ > calls are not guaranteed at interpreter shutdown). I don't do > plain-CGI, so I > can't prove this is the case, but it's the one deployment model I > can think of > where the interpreter shuts down rather quickly. > [...] > > -- Graham Interesting... In a CGI environment, why would the interpreter be shut down without having a chance to run the __del__()? I mean, it isn't likely to get hit by a 'kill' or anything external. That's possible, but less likely than it would be in a LRP situation, I would think. I would figure the interpreter would keep running until ALL the python code was completed (barring cyclical references). Am I missing something about the way the interpreter behaves as a process is wrapping up? Jason