
March 21, 2019
5:06 p.m.
On Fri, 22 Mar 2019 03:42:00 +1100 Steven D'Aprano <steve@pearwood.info> wrote:
For those who oppose the + operator, it will help me if you made it clear whether it is *just* the + symbol you dislike, and would accept the | operator instead, or whether you hate the whole operator concept regardless of how it is spelled.
I'd rather see a method. Dict merging just doesn't occur often enough that an operator is desirable for it.
And to those who support this PEP, code examples where a dict merge operator will help are most welcome!
Yes, I still have no idea why this operator would supposedly be useful. How many dict merges do you write per month? Regards Antoine.