fix the ignoring of __cmp__ method on metaclasses #7491
3 files changed