cmp + boost.python