Hmm... An idea: if a,b==c,d:

Erik Max Francis max at alcyone.com
Mon Nov 18 20:00:25 EST 2002


Richard Dillingham wrote:

> So again, for if-statements, this looks like it could be done, unless
> the
> CVS version makes it recognize ,s in if statements as being for
> tuples.

No one's disputing that it _could_ be done.  But it's highly unlikely
that it will be done, particularly since both a, b == c, d and (a, b) ==
(c, d) have meaning now and mean something else.  Making an exception
here hardly seems worth the added complexity to the language.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ All the people in his neighborhood turn around and get mad and sing
\__/ Public Enemy
    Erik Max Francis' bookmarks / http://www.alcyone.com/max/links/
 A highly categorized list of Web links.



More information about the Python-list mailing list