Changes between Initial Version and Version 4 of Ticket #23109


Ignore:
Timestamp:
05/31/17 08:11:00 (4 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23109 – Description

    initial v4  
    11The function `richcmp_by_eq_and_lt` from `src/sage/rings/asymptotic/misc.py` should be moved to `src/sage/structure/richcmp.pyx`.
     2
     3I would also like to change the semantics slightly: this would be more useful if the method names (i.e. `_eq_` and `_lt_`) would be an argument like `_richcmp_ = richcmp_by_eq_and_lt("_eq_", "_lt_")`. This way, it can also be used with the standard Python methods `__eq__` and `__lt__`.