Changes between Version 7 and Version 9 of Ticket #18251


Ignore:
Timestamp:
07/29/16 14:41:23 (6 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18251

    • Property Dependencies changed from to #21128
  • Ticket #18251 – Description

    v7 v9  
    99
    1010This should be fixed by using coercing comparison (`_cmp_` or `_richcmp_`).
    11 
    12 The fix in this ticket is meant to be an example for other plain Python modules which need to implement comparison using coercion.
    13 
    14 We need access to the CPython function `PyObject_RichCompare()` which —as far as I know— is not exposed by Python. So we add a Python interface to `PyObject_RichCompare()` called `richcmp()`.