This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brandtbucher
Recipients brandtbucher
Date 2019-02-28.04:18:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1551327538.36.0.964853059958.issue36144@roundup.psfhosted.org>
In-reply-to
Content
...as discussed in python-ideas. Semantically:

d1 + d2 <-> d3 = d1.copy(); d3.update(d2); d3
d1 += d2 <-> d1.update(d2)

Attached is a working implementation with new/fixed tests for consideration. I've also updated collections.UserDict with the new __add__/__radd__/__iadd__ methods.
History
Date User Action Args
2019-02-28 04:18:58brandtbuchersetrecipients: + brandtbucher
2019-02-28 04:18:58brandtbuchersetmessageid: <1551327538.36.0.964853059958.issue36144@roundup.psfhosted.org>
2019-02-28 04:18:58brandtbucherlinkissue36144 messages
2019-02-28 04:18:58brandtbuchercreate