On 01/03/2019 14:06, Rémi Lapeyre wrote:
I’m having issues to understand the semantics of d1 + d2.
That's understandable, clouds of confusion have been raised. As far as
I can tell it's pretty straightforward: d = d1 + d2 is equivalent to:
>>> d = d1.copy()
>>> d.update(d2)
All of your subsequent questions then become "What does
DictSubclassInQuestion.update() do?" which should be well defined.
--
Rhodri James *-* Kynesim Ltd
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/