On 10/24/07, John Siracusa <[EMAIL PROTECTED]> wrote: > Well, if we trust register_cleanup() to clean up db connections and so on, > why not trust it to reset globals too?
The problems I had involved unpredictable order of execution with multiple cleanups. I'm fuzzy on the details though, since this was like 10 years ago. I'm sure it can be made to work. I found pnotes more foolproof in this case. - Perrin