On Fri, Jan 22, 2016 at 09:32:32PM -0500, Russell Bryant wrote: > Python 3 no longer supports __cmp__. Instead, we have to implement the > "rich comparison" operators. We implement __eq__ and __lt__ and use > functools.total_ordering to implement the rest. > > In one case, no __cmp__ method was provided and instead relied on the > default behavior provided in Python 2. We have to implement the > comparisons explicitly for Python 3. > > Signed-off-by: Russell Bryant <[email protected]>
Should this remove the __cmp__ operators? Acked-by: Ben Pfaff <[email protected]> _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
