[Zope-Checkins] CVS: Zope/doc - CHANGES.txt:1.535.2.142

Tres Seaver cvs-admin at zope.org
Wed Nov 5 08:29:27 EST 2003


Update of /cvs-repository/Zope/doc
In directory cvs.zope.org:/tmp/cvs-serv30919/doc

Modified Files:
      Tag: Zope-2_6-branch
	CHANGES.txt 
Log Message:
 - Note backport of EC.subclass_compare fix.


=== Zope/doc/CHANGES.txt 1.535.2.141 => 1.535.2.142 ===
--- Zope/doc/CHANGES.txt:1.535.2.141	Sun Nov  2 13:14:43 2003
+++ Zope/doc/CHANGES.txt	Wed Nov  5 08:29:26 2003
@@ -8,6 +8,16 @@
 
     Bugs Fixed
 
+     - Backported a fix to ExtensionClass.subclass_compare():
+       As reported by Neil Schemenauer, instances of an ExtensionClass
+       type that get into this code can raise RuntimeWarning
+       under Python 2.3, because the comparison result may be outside
+       the set {-1, 0, 1}.  Worse, on a box where
+       sizeof(ptrdiff_t) > sizeof(int) (all 64-bit platforms), comparison
+       results across a set of objects could be inconsistent because the
+       implicit cast of pointer subtraction to int loses the
+       information-carrying sign bit.
+
      - ConflictError was swallowed in ObjectManager by
        manage_beforeDelete and _delObject. This could break code
        expecting to do cleanups before deletion.




More information about the Zope-Checkins mailing list