* __cmp__ for python 2.6