On 2012-04-07, Jon Clements <jon...@googlemail.com> wrote: > Any reason you can't derive from int instead of object? You may > also want to check out functions.total_ordering on 2.7+
functools.total_ordering I was temporarily tripped up by the aforementioned documentation, myself. -- Neil Cerutti -- http://mail.python.org/mailman/listinfo/python-list