>>> a = {}
>>> a['test'] = 1
>>> b = {}
>>> b['test1'] = 3
>>> a+b
Traceback (innermost last):
File "<stdin>", line 1
TypeError: bad operand type(s) for +
>>>
What I would like to see is:
>>> a+b
{'test': 1, 'test2': 3}
if a and b both had the same keys, then I think b should override the
keys in a.
You could also do subtraction of key-value pairs.
-- Lance Ellinghouse lance@fox.com