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

Mark Young marky1991 at gmail.com
Thu Feb 12 20:21:28 CET 2015


Addition and updating are completely different things. An update implies
that the second value is more up-to-date or more correct, so its values
should be preferred in the event of a clash. Addition has no such
implication, so appealing for consistency between the two doesn't make any
sense to me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20150212/b985f275/attachment.html>


More information about the Python-ideas mailing list