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. Federico _______________________________________________ Sugar mailing list [email protected] http://mailman.laptop.org/mailman/listinfo/sugar
