[Python-checkins] r43321 - python/trunk/Objects/setobject.c

raymond.hettinger python-checkins at python.org
Sun Mar 26 05:11:31 CEST 2006


Author: raymond.hettinger
Date: Sun Mar 26 05:11:29 2006
New Revision: 43321

Modified:
   python/trunk/Objects/setobject.c
Log:
Tighten an overbroad and misleading assertion.
(Reported by Jim Jewett.)



Modified: python/trunk/Objects/setobject.c
==============================================================================
--- python/trunk/Objects/setobject.c	(original)
+++ python/trunk/Objects/setobject.c	Sun Mar 26 05:11:29 2006
@@ -445,7 +445,7 @@
 		}
 #ifdef Py_DEBUG
 		else
-			assert(entry->key == NULL || entry->key == dummy);
+			assert(entry->key == NULL);
 #endif
 	}
 


More information about the Python-checkins mailing list