Alex Martelli wrote: > Python 2.5 should introduce a 'with' statement that may go partways > towards meeting your qualms; it's an approved PEP, though I do not > recall its number offhand.
http://www.python.org/peps/pep-0343.html (this is one in a series of PEP:s based on the observation that the generator machinery can be used for a lot more than iterators...) </F> -- http://mail.python.org/mailman/listinfo/python-list