On Mon, Mar 04, 2019 at 10:01:23AM -0500, James Lu wrote: > If you want to merge it without a KeyError, learn and use the more explicit > {**d1, **d2} syntax.
In your previous email, you said the {**d ...} syntax was implicit: In other words, explicit + is better than implicit {**, **#, unless explicitly suppressed. Here + is explicit whereas {**, **} is implicitly allowing inclusive keys, and the KeyError is expressed suppressed by virtue of not using the {**, **} syntax. It is difficult to take your "explicit/implicit" argument seriously when you cannot even decided which is which. -- Steven _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/