[Python-ideas] Null coalescing operators

Random832 random832 at fastmail.com
Mon Sep 21 18:57:09 CEST 2015

On Mon, Sep 21, 2015, at 12:29, Stephen J. Turnbull wrote:
> I don't know what an LL(1) parser could do offhand.  As a human, I
> would parse that greedily as (a if b else c) else d.

That's not greedy. The greedy parsing is (a if b else (c else d)).

More information about the Python-ideas mailing list