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:
http://docs.python.org/dev/whatsnew/pep-343.html
I don't think we're going to move to python 2.5 on the laptop. 2.4 is
what's well integrated at the moment and I don't think we want to try to
keep more than one python around.
--Chris
_______________________________________________
Sugar mailing list
[email protected]
http://mailman.laptop.org/mailman/listinfo/sugar