Hello Michele! > class object(object): > class __metaclass__(type): > pass Thanks for the hint! After sending I found out that it should have the real object as parent. OTOH, your nested definition is really elegant! :-) -- Gustavo Niemeyer http://niemeyer.net