[Python-ideas] [Python-Dev] What's the status of PEP 505: None-aware operators?
elazarg at gmail.com
Wed Nov 29 05:39:42 EST 2017
בתאריך יום ד׳, 29 בנוב׳ 2017, 12:29, מאת Lele Gaifax <lele at metapensiero.it
> Kirill Balunov <kirillbalunov at gmail.com> writes:
> > Since the proposed semantics is more similar to the idea of "or", may be
> > is better to consider something like:
> > timeout then local_timeout then global_timeout
> > I do not know how much this is a frequent case to be worthy of a keyword.
> That sounds awkward... what about
> timeout else local_timeout else global_timeout
I think then and else can be ruled out since they can be very confusing
when used in a conditinal statement or a comprehension.
x = a if x else y else b # wait. what?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas