Use PyObject_RichCompare rather than PyObject_Cmp
authorRobert Bradshaw <robertwb@math.washington.edu>
Wed, 10 Oct 2007 09:15:39 +0000 (02:15 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Wed, 10 Oct 2007 09:15:39 +0000 (02:15 -0700)
commit685dbe0d00f6332e9e67057d4a2096f2ca3dc013
treea35ea59eb58bda02b0ea05b5a4f7f989c06c8a4a
parentebbac1401e6a93c9720fda182c1636634136979e
Use PyObject_RichCompare rather than PyObject_Cmp
This is what the interpreter does, and allows one to
get at the actual object (rather than just its truth
value).
Cython/Compiler/ExprNodes.py
Cython/Compiler/PyrexTypes.py