I wish to use a Python dictionary to keep track of some running tasks. Each of these tasks has a number of attributes which makes it unique, so I\'d like to use a function of th
Use a tuple
d[(attrib_a, attrib_b)] = t
That should work fine