[Python-checkins] r88069 - python/branches/py3k/Objects/typeobject.c

benjamin.peterson python-checkins at python.org
Mon Jan 17 20:54:56 CET 2011


Author: benjamin.peterson
Date: Mon Jan 17 20:54:55 2011
New Revision: 88069

Log:
remove unneeded assertion

Modified:
   python/branches/py3k/Objects/typeobject.c

Modified: python/branches/py3k/Objects/typeobject.c
==============================================================================
--- python/branches/py3k/Objects/typeobject.c	(original)
+++ python/branches/py3k/Objects/typeobject.c	Mon Jan 17 20:54:55 2011
@@ -2946,7 +2946,6 @@
     PyObject *slots_a, *slots_b;
 
     assert(base == b->tp_base);
-    assert(!equiv_structs(a, base) && !equiv_structs(b, base));
     size = base->tp_basicsize;
     if (a->tp_dictoffset == size && b->tp_dictoffset == size)
         size += sizeof(PyObject *);


More information about the Python-checkins mailing list