On 10/24/07, John Siracusa <suppressed> 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
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.