[sugar] Pygtk and garbage collecting
Federico Mena Quintero
Tue Aug 8 12:51:27 EDT 2006
On Tue, 2006-08-08 at 12:29 -0400, Ivan Krstic wrote:
> Federico Mena Quintero wrote:
> > This is pretty useful for managed objects which maintain non-managed
> > data (file descriptors, memory buffers, database connections, etc.).
> > Does Python let you do something like this?
> Yes, using the 'with' statement that's new in Python 2.5, which we'll
> have on the laptop:
Oooh, excellent. And it looks trivial to implement.
More information about the Sugar-devel