[Python-ideas] PEP 505 (None coalescing operators) thoughts

Guido van Rossum guido at python.org
Mon Sep 28 23:49:27 CEST 2015


On Mon, Sep 28, 2015 at 2:06 PM, Donald Stufft <donald at stufft.io> wrote:

> I’m not a big fan of the punctuation though. It took me a minute to
> realize that post?.tag.lower() was saying if post is None, not if post.tag
> is None and I feel like it’s easy to miss the ?, especially when combined
> with other punctuation.
>

But that's a different point (for the record I'm not a big fan of the ?
either).

-- 
--Guido van Rossum (python.org/~guido)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150928/a02ffcc0/attachment.html>


More information about the Python-ideas mailing list