My personal feeling is that saving a line of code on uncommon patterns is not such a big deal.
I personally like the two recent proposals that affect a great many lines of code:
- the coalescing operator:
x otherwise 2for2 if x is None else x, and - the matching named argument ellision:
f(value=)forf(value=value).
If these were rare patterns, I wouldn’t be as positive about them.