> On 18 Oct 2019, at 15:58, Brandt Bucher <brandtbuc...@gmail.com> wrote: > > Paul Moore wrote: >> All of the above is just my subjective opinion. Objective information is >> likely to only be available by someone looking at a body of real world code >> and demonstrating what difference the proposed operator would make to it >> (maybe someone did that already - I've not been following this thread >> closely). > > Basically the whole bottom quarter of the PEP! > > https://www.python.org/dev/peps/pep-0584/#examples-of-candidates-for-the-dict-merging-operator
The examples would make more sense if the "before" picture was using modern syntax fully. The alternative to c = a + b isn't the old c = {} c.update(a) c.update(b) but in fact: c = {**a, **b} I agree that the proposed + overload is nicer to read but the PEP isn't being fair to the current syntax imo. / Anders _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/4EXNNELJNAFT4M4Y373TNH6GTTNPPYB2/ Code of Conduct: http://python.org/psf/codeofconduct/