On Apr 11, 3:58 pm, [EMAIL PROTECTED] (Alex Martelli) wrote: [...] > That's my favorite way to ensure that all resources get reclaimed: let > the operating system do the job.
Thanks a lot, Alex, for confirming the basic idea. I will be playing with your function later today, and will give more feedback. I think I avoided the pipe on the mistaken belief that pipes cannot be binary. I know, I should've tested. And I avoided pickle at the time because I had a structure that was unpicklable (grown by me using a mixture of python, C, ctypes and pyrex at the time). The structure is improved now, and I will go for the more standard approach.. Regards, Muhammad -- http://mail.python.org/mailman/listinfo/python-list