Fars- mo wrote: > No, your examples would fall prey to the same issue as the one-liner because > if I'm not mistaken, l and w would have ended their lifetimes when the > context manager's __exit__ is called.
Sorry, my bad, l and w would still be alive. Good point!
Cheers,
Farsmo
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside
