[Python-Dev] PEP 351 - do while (original) (raw)

Andrew Koenig ark at acm.org
Sun Oct 1 18:58:41 CEST 2006


(I don't think this has been suggested yet.)

while , :

This usage makes me uneasy, not the least because I don't understand why the comma isn't creating a tuple. That is, why whould

while x, y:
    <body>

be any different from

while (x,  y):
    <body>

?

My other concern is that is evaluated out of sequence.



More information about the Python-Dev mailing list