Kyle Stanley <aeros...@gmail.com> added the comment:
> Serhiy: Is there a reason not to use the functools.total_ordering decorator > on TimerHandle, so you can get rid of __le__/__ge__/__gt__ rather than fixing > them > individually? I strongly agree with this suggestion, unless there's some unique behavior with TimerHandle objects which would prevent this from being viable. IMO, the @total_ordering decorator should be used as much as practically possible. Individually specifying all of the rich comparisons when we don't have to adds a significant maintenance cost. ---------- nosy: +aeros167 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37685> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com