[Python-checkins] r64577 - python/trunk/Objects/dictobject.c

raymond.hettinger python-checkins at python.org
Sun Jun 29 00:16:56 CEST 2008


Author: raymond.hettinger
Date: Sun Jun 29 00:16:53 2008
New Revision: 64577

Log:
Issue 3230:  Do not the set specific size macro.

Modified:
   python/trunk/Objects/dictobject.c

Modified: python/trunk/Objects/dictobject.c
==============================================================================
--- python/trunk/Objects/dictobject.c	(original)
+++ python/trunk/Objects/dictobject.c	Sun Jun 29 00:16:53 2008
@@ -1253,7 +1253,7 @@
 		PyObject *key;
 		long hash;
 
-		if (dictresize(mp, PySet_GET_SIZE(seq)))
+		if (dictresize(mp, Py_SIZE(seq)))
 			return NULL;
 
 		while (_PyDict_Next(seq, &pos, &key, &oldvalue, &hash)) {


More information about the Python-checkins mailing list