[Python-Dev] With statement

Michael Hudson mwh@python.net
Tue, 04 Feb 2003 14:13:29 +0000


"Moore, Paul" <Paul.Moore@atosorigin.com> writes:

> That to me looks like the canonical use for locking. Unfortunately, people
> have made the point that having an *optional* assignment is hard (I'm not
> qualified to judge how hard, but I do know that Guido values parser
> simplicity).

Actually, Greg's point that you can sort it out in the compiler is a
good one.

Cheers,
M.

-- 
  > say-hi-to-the-flying-pink-elephants-for-me-ly y'rs,
  No way, the flying pink elephants are carrying MACHINE GUNS!
  Aiiee!!  Time for a kinder, gentler hallucinogen...
                               -- Barry Warsaw & Greg Ward, python-dev