How to do this in Python...
aahz at pythoncraft.com
Mon Jan 27 16:46:05 CET 2003
In article <HJ3Z9.987$P64.136 at nwrddc02.gnilink.net>,
Carl Banks <imbosol at vt.edu> wrote:
>Martin Maney wrote:
>> This seems to me to be, very simply, an area where Python's
>> intentionally chosen limitations make it awkward to compose a clear and
>> robust solution, at least in the general case.
>You've voiced you opinion about this before, if I remember correctly.
>Python is not going to add an assignment expression just so you can do
>this stupid, irrelevant thing without a little awkwardness. Live with
You're misreading Martin. He's *not* necessarily suggesting that
assignment in if be permitted; it's actually more a damning of the lack
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"Argue for your limitations, and sure enough they're yours." --Richard Bach
More information about the Python-list