[buildobjs] use six to declare metaclasses [applied]