Re:Dictionary union (PEP 584) is merged
by banannaise on Thursday February 27, 2020 @01:05PM
(#22435874)
The bigger reasons are discoverability (as noted in the section you linked) and the ever-vague notion of Pythonic-ness.
{d1, d2} is not intuitive to a primarily-Python developer, and looks nothing like typical Python. The dict unpacking operator it uses is almost never seen outside function arguments.
{d1, d2} is not intuitive to a primarily-Python developer, and looks nothing like typical Python. The dict unpacking operator it uses is almost never seen outside function arguments.