
Feb. 12, 2015
4:57 p.m.
On 02/12/2015 03:43 AM, Steven D'Aprano wrote:
I think this is a feature that is more useful in theory than in practice. Which we already have a way to do a merge in place, and a copy-and-merge seems like it should be useful but I'm struggling to think of any use-cases for it. I've never needed this, and I've never seen anyone ask how to do this on the tutor or python-list mailing lists.
I think the level of interest in http://stackoverflow.com/questions/38987/how-can-i-merge-two-python-dictiona... (almost 1000 upvotes on the question alone) does indicate that the desire for an expression form of merging dictionaries is not purely theoretical. Carl