Thanks both for suggestions. I still think that using inheritance is somehow cleanest in this case (I always hear the mantra "avoid multiple inheritance!", but this is one of the cases it seems to make a lot of sense to me), but it's nice food for thought/code anyway.
Other suggestions are always welcome, if there are! Massimo -- http://mail.python.org/mailman/listinfo/python-list