[Python-ideas] [Python-Dev] What's the status of PEP 505: None-aware operators?

Lele Gaifax lele at metapensiero.it
Wed Nov 29 05:28:14 EST 2017


Kirill Balunov <kirillbalunov at gmail.com> writes:

> Since the proposed semantics is more similar to the idea of "or", may be it
> 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

instead?

ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele at metapensiero.it  |                 -- Fortunato Depero, 1929.



More information about the Python-ideas mailing list