On Sun, Sep 11, 2016 at 9:10 AM, Guido van Rossum <gu...@python.org> wrote: > So you're offering `NoneCoalesce(x).bar` as less-ugly alternative to > `x?.bar`... Color me unconvinced.
As a syntactic form? Not interested. But what if it's the underlying implementation? We have "yield from X" as a tidy syntax for roughly a page of equivalent code. We could have "x?.bar" as syntactic sugar for "NoneCoalesce(x).bar". ChrisA _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/