wasm-demo/demo/ermis-f/python_m/cur/1675

46 lines
1.1 KiB
Plaintext

From: tim_one at email.msn.com (Tim Peters)
Date: Sat, 17 Apr 1999 17:08:41 GMT
Subject: Why no "=" in if? (was Re: Quick fix to add "+=")
In-Reply-To: <aahzFAC5up.5op@netcom.com>
References: <aahzFAC5up.5op@netcom.com>
Message-ID: <000401be88f4$f126c440$ee9e2299@tim>
X-UID: 1675
> can't-wait-for-a-resumption-of-the-assignment-expression-thread<wink>-ly
> y'rs - tim
[Aahz Maruch]
> I'm getting really sick of the way I have to use this stupid construct:
>
> x = foo()
> if x:
> ...
>
> instead of
>
> if x = foo():
> ...
>
> Why doesn't Guido get off his duff and fix this?????????!
[John Baxter]
> Because it's not broken.
[Aahz]
> Yes, it is.
Excellent! We've now summarized in just 3 brief messages just about
everything that was said over the course of (literally) hundreds of msgs the
last time this came up <0.1 wink>.
If anyone wants to continue this now, consider just posting a link to the
DejaNews article you would have otherwise rewritten.
can't-wait-for-the-resumption-of-the-indexing-thread<wink>-ly y'rs - tim