Changes between Version 4 and Version 6 of Ticket #18305


Ignore:
Timestamp:
04/29/15 16:24:53 (7 years ago)
Author:
vdelecroix
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18305

    • Property Status changed from new to needs_review
    • Property Commit changed from 7749fe882a88d0978413e9c58b9d2660e0de23a6 to 81be759f0e28dc13aa17e2f7df72bee0e729ee8f
  • Ticket #18305 – Description

    v4 v6  
    1414 - six elements are modified to use either `_richcmp_` or `_cmp_` instead of `__eq__`/`__ne__`/`__lt__`, etc (and #18303 takes care of `sage.rings.qqbar`)
    1515
    16 Still to do or discuss:
    17  - update the documentation in `sage.structure.Element`
     16Potentially to discuss:
    1817 - decide what should we do with respect to `x < y` when this makes no sense (some elements do raise a `TypeError`)
    19  - remove the test in the default `Element._cmp_` since an element implementing `__cmp__` wants to avoid coercion (?)
     18 - remove the test in the default `Element._cmp_` since an element implementing `__cmp__` wants to avoid coercion