1 Jan
2012
1 Jan
'12
3:24 a.m.
On 12/31/2011 5:57 PM, Nathan Schneider wrote:
The necessary resolution of key conflicts is what makes "+" feel less natural to me for dicts than it does for sequences, where the order of the operands is transparently reflected in the output. For dicts, in contrast, we are talking about a "lossy" union/combination where what is lost depends on the order of the operands—this is less transparent in the output. However it is spelled, though, I would be thrilled if such an operation were built in. :)
You mean like dict.update? -- Terry Jan Reedy