[Python-ideas] PEP: Dict addition and subtraction

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Mar 5 17:40:38 EST 2019

Steven D'Aprano wrote:
> The question is, is [recursive merge] behaviour useful enough and
 > common enough to be built into dict itself?

I think not. It seems like just one possible way of merging
values out of many. I think it would be better to provide
a merge function or method that lets you specify a function
for merging values.


More information about the Python-ideas mailing list