[Python-ideas] Adding "+" and "+=" operators to dict

Mark Lawrence breamoreboy at yahoo.co.uk
Thu Feb 12 20:14:35 CET 2015


On 12/02/2015 18:42, Steven D'Aprano wrote:
>
> Sometimes reading python-ideas is like deja vu all over again. Each time
> this issue gets raised, people seem to be convinced that there is an
> obvious and sensible meaning for dict merging. And they are right. If
> only we could all agree on *which* obvious and sensible meaning.
>

To me it's blatantly obvious and I simply don't understand why this is 
endlessly debated.  You take the first item from the rhs, the second 
item from the lhs, the third item from the rhs...

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence



More information about the Python-ideas mailing list