James Lu schrieb am 04.03.19 um 03:28:
> I propose that the + sign merge two python dictionaries such that if there 
> are conflicting keys, a KeyError is thrown. 

Please, no. That would be really annoying.

If you need that feature, it can become a new method on dicts.

Stefan

_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to