[Zodb-checkins] CVS: ZODB3/ExtensionClass/src - ExtensionClass.c:1.57.2.2

Jeremy Hylton jeremy at zope.com
Thu Sep 11 13:22:13 EDT 2003


Update of /cvs-repository/ZODB3/ExtensionClass/src
In directory cvs.zope.org:/tmp/cvs-serv8570/ExtensionClass/src

Modified Files:
      Tag: Zope-2_6-branch
	ExtensionClass.c 
Log Message:
Sync with changes mode on the soon-to-be-defunct ZODB3-3_1-branch.


=== ZODB3/ExtensionClass/src/ExtensionClass.c 1.57.2.1 => 1.57.2.2 ===
--- ZODB3/ExtensionClass/src/ExtensionClass.c:1.57.2.1	Wed Nov 13 11:40:01 2002
+++ ZODB3/ExtensionClass/src/ExtensionClass.c	Thu Sep 11 12:21:41 2003
@@ -2299,7 +2299,7 @@
   UNLESS(m=subclass_getspecial(self,py__cmp__))
     {
       PyErr_Clear();
-      return self-v;
+      return self < v ? -1 : (self != v);
     }
 
   if (UnboundCMethod_Check(m)




More information about the Zodb-checkins mailing list