On Sunday 08 June 2003 11:37 am, Gerrit Holl wrote: ... > if issubclass(typ, dict) and type(typ.__repr__) is type(dict.__repr__): > # do stuff Aren't the calls to type() here wrong? It seems to me that what you want to check is just whether typ.__repr__ is dict.__repr__, not if the types of the two bound methods are the same. Alex