[Python-ideas] xml generator that uses the with statement

Stefan Behnel stefan_ml at behnel.de
Sun Sep 14 19:37:55 CEST 2008

Mathias Panzenböck wrote:
> Josiah Carlson schrieb:
>> I've done a similar thing using with (and for in Python 2.4 or before)
>> in constructing wxPython GUI widget layouts.
> Yeah, I also did something similar using for back in 2.4. But I considered that
> as a hack. with is the way to go. :)

There was a similar proposal on comp.lang.python a couple of weeks ago. Check
the archives.


More information about the Python-ideas mailing list