[Python-ideas] Adding "+" and "+=" operators to dict
random832 at fastmail.us
random832 at fastmail.us
Thu Feb 12 15:49:39 CET 2015
On Thu, Feb 12, 2015, at 05:43, 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.
It's also an attractive nuisance - most cases I can think of for it
would be better served by a view.
More information about the Python-ideas
mailing list