[Python-ideas] Null coalescing operators

Xavier Combelle xavier.combelle at gmail.com
Sat Sep 19 22:03:10 CEST 2015

2015-09-19 21:24 GMT+02:00 Ryan Gonzalez <rymg19 at gmail.com>:

> I think the core issue is that, whether or not it should be used, APIs
> already return None values, so a convenience operator might as well be
> added.
I'm curious on which API returning None, a major bonus on using python is
that I pretty never stumbled upon the equivalent of NullPointerException.
Moreover, I wonder if that this convenience operator will do something more
than hide bugs.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150919/cacca579/attachment.html>

More information about the Python-ideas mailing list