On 2019-04-05 19:53, Serhiy Storchaka wrote: > At Python level we can monkeypatch __gt__, but not tp_richcompare. Sure, but you're planning to use C anyway so that's not really an argument.