Changes between Version 5 and Version 10 of Ticket #17890


Ignore:
Timestamp:
03/04/15 16:31:46 (7 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17890

    • Property Commit changed from a830cc93c6bb07565db709bfe03f8acc62034dbb to 25e517fc735d15ba07c919f7a65103cf04acd2cf
  • Ticket #17890 – Description

    v5 v10  
    1111Analogously for `_richcmp_`.
    1212
    13 Attached branch passes all doctests, but is somewhat slower than before.
     13There is one important functional change: If a Python class defines both `__cmp__` and `_cmp_`, then formerly the coercion framework would use `__cmp__` by default to implement relational operators like `>=`. After this ticket, `_cmp_` will be tried first, which defaults to `__cmp__`.