Re: Cleanup when a object dies

2008-01-23 Thread Benjamin
On Jan 22, 11:29 pm, Raymond Hettinger <[EMAIL PROTECTED]> wrote: > On Jan 22, 7:54 pm, Benjamin <[EMAIL PROTECTED]> wrote: > > > I writing writing a class to allow settings (options, preferences) to > > written file in a cross platform manner. I'm unsure how to go a about > > syncing the data to d

Re: Cleanup when a object dies

2008-01-22 Thread Raymond Hettinger
On Jan 22, 7:54 pm, Benjamin <[EMAIL PROTECTED]> wrote: > I writing writing a class to allow settings (options, preferences) to > written file in a cross platform manner. I'm unsure how to go a about > syncing the data to disk. Of course, it's horribly inefficient to > write the data every time som

Cleanup when a object dies

2008-01-22 Thread Benjamin
I writing writing a class to allow settings (options, preferences) to written file in a cross platform manner. I'm unsure how to go a about syncing the data to disk. Of course, it's horribly inefficient to write the data every time something changes a value, however I don't see how I can do it on d