בתאריך יום ד׳, 29 בנוב׳ 2017, 12:29, מאת Lele Gaifax <[email protected] >:
> Kirill Balunov <[email protected]> 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? > 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? Elazar
_______________________________________________ Python-ideas mailing list [email protected] https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
