def __cmp__(self, obj):
        if isinstance(obj, Message):
            plural = self.pluralizable
            obj_plural = obj.pluralizable
            if plural and obj_plural:
                return cmp(self.id[0], obj.id[0])
            elif plural:
                return cmp(self.id[0], obj.id)
            elif obj_plural:
                return cmp(self.id, obj.id[0])
        return cmp(self.id, obj.id)
The post-class cleanup method will not call C{addError} on the result
dataset/ETHPy150Open jbalogh/glow/vendor/lib/python/babel/messages/catalog.py/Message.__cmp__--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/trial/test/test_util.py/JanitorTests.test_postClassCleanupNoErrors