[Python-ideas] Null coalescing operators

Random832 random832 at fastmail.com
Sun Sep 20 08:46:33 CEST 2015


Serhiy Storchaka <storchaka at gmail.com>
writes:

> On 19.09.15 07:21, Guido van Rossum wrote:
>> I do, but at least the '?' is part of an operator, not part of the name
>> (as it is in Ruby?).
>
> What to do with the "in" operator?

This is one of those things where we've got to decide which side it
applies to. None can be in a list, but not a string. And nothing can be
in None.



More information about the Python-ideas mailing list