I\'ve found a strange issue with subclassing and dictionary updates in new-style classes:
Python 2.6.2 (r262:71605, Apr 14 2009, 22:40:02) [MSC v.1500 32 bit
props should not have a default value like that. Do this instead:
props
class a(object): def __init__(self, props=None): if props is None: props = {} self.props = props
This is a common python "gotcha".