[issue36144] Dictionary union. (PEP 584)
Brandt Bucher
report at bugs.python.org
Wed Feb 26 19:56:25 EST 2020
Brandt Bucher <brandtbucher at gmail.com> added the comment:
The plan is to follow dict’s semantics. The |= operator will basically delegate to the first map in the chain. The | operator will create a new ChainMap where the first map is the merged result of the old first map, and the others are the same.
So, basically update / copy-and-update, respectively.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36144>
_______________________________________
More information about the Python-bugs-list
mailing list