2009/3/18 Antoine Pitrou <solipsis at pitrou.net>: > >> class C() to class C(object) > > __metaclass__ = type Or even better: just inherit from object in 3.0 and 2.x. :) -- Regards, Benjamin