![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.python archiveRe: [Info] PEP 308 accepted - new conditional expressions
From: Fredrik Lundh <fredrik@pythonware.com>
Date: Fri Sep 30 2005 - 15:58:35 CEST
Reinhold Birkenfeld wrote:
> after Guido's pronouncement yesterday, in one of the next versions of Python
hopefully, only one of Y or X is actually evaluated ?
> C and X or Y (only if X is True)
hopefully, "only if X is True" isn't in fact a limitation of "X if C else Y" ?
/... snip comment that the natural order is C, X, Y and that programmers that
</F>
|