>...it's this last one that causes the problem. In the real code, the >call to type.__setattr__ referred to above seems to lead to a call to >something like cls.__base__.__dict__[attr].__set__(cls, value).
Uhm ... sounds right, but I a bit confused. Could you please give us a doctest showing us what you get and what you would like to get? Michele Simionato Michele Simionato -- http://mail.python.org/mailman/listinfo/python-list