[Python-Dev] Acquire/release functionality
Michael Hudson
mwh@python.net
Tue, 04 Feb 2003 11:23:49 +0000
john paulson <munch@acm.org> writes:
> In the case of
>
> with var_1, ... var_N = expr_1, ... expr_N:
> suite
>
> What happens if one of the expr_k throws an
> exception?
[...]
> In the interests of KISS, (with a soupcon of
> YAGNI), the single variable form might be
> preferable.
Quite.
Cheers,
M.
--
MARVIN: What a depressingly stupid machine.
-- The Hitch-Hikers Guide to the Galaxy, Episode 7