[Python-Dev] Acquire/release functionality (Was: Extended Function syntax) (original) (raw)

Moore, Paul Paul.Moore@atosorigin.com
Mon, 3 Feb 2003 14:29:40 -0000


From: Bernhard Herzog [mailto:bh@intevation.de]

To some extent, an important point of the with expression is to simplify the overall control construct, and to reduce the level of nesting needed. Combining the variables was intended to help with this.

Well, you could easily define a new class that combines several control objects into one object so that you'd get something like this:

OK, that's a good point. I'm convinced.

Paul.