Added rich comparison operators to PyObject.