Proposed PEP for a Conditional Expression
Norman Shelley
nospam at newsranger.com
Mon Sep 10 15:21:32 EDT 2001
I agree that ARG_24 is THE most important point. I believe this same point is
THE most important point behind the new assignment feature, e.g.
x += 1
x *= 4
..
and the same argument is THE most important point to make for a CASE/SWITCH
statement in python.
While you're in the PEP writing mode why not create another PEP where ARG_24 is
extended and pushed for all areas where it makes sense and show where new
features have been added that fit this point.
In article <mailman.1000046772.19777.python-list at python.org>, Michael Chermside
says...
>
>
>For the sake of full disclosure, I'll also express my own opinion here
>(I have tried hard to keep the PEP evenhanded). With reference to the
>PEP, I find ARG_1, ARG_3, and ARG_23 unconvincing, while ARG_21, ARG_22,
>and ARG_3 all make sense to me. But for me, ARG_24 is the overwhelming
>point and convinces me that adding a conditional expression would be a
>good idea.
Norman Shelley
More information about the Python-list
mailing list