Any reason you can't derive from int instead of object? You may also want to check out functions.total_ordering on 2.7+ -- http://mail.python.org/mailman/listinfo/python-list
- ordering with duck typing in 3.1 andrew cooke
- Re: ordering with duck typing in 3.1 Thomas Rachel
- Re: ordering with duck typing in 3.1 Rob Williscroft
- Re: ordering with duck typing in 3.1 John O'Hagan
- ordering with duck typing in 3.1 Jon Clements
- Re: ordering with duck typing in 3.1 Neil Cerutti
- Re: ordering with duck typing in 3.1 Jon Clements