[Python-ideas] Null coalescing operator

MRAB python at mrabarnett.plus.com
Mon Oct 31 16:27:29 EDT 2016


On 2016-10-31 19:14, Paul Moore wrote:
> On 31 October 2016 at 18:11, MRAB <python at mrabarnett.plus.com> wrote:
> > With this feature it could be:
> >
> >     if x in stop_on or end_if?(x):
>
> I don't think "null-aware function call" is in the current version of the PEP.
That might be because it's not clear how useful it would be in practice. 
If that's the case, then here's a use case.


More information about the Python-ideas mailing list