[Python-checkins] python/dist/src/Include setobject.h,2.7,2.8
rhettinger@users.sourceforge.net
rhettinger at users.sourceforge.net
Tue Aug 2 05:45:26 CEST 2005
Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6483/Include
Modified Files:
setobject.h
Log Message:
Model set.pop() after dict.popitem().
Index: setobject.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/setobject.h,v
retrieving revision 2.7
retrieving revision 2.8
diff -u -d -r2.7 -r2.8
--- setobject.h 1 Aug 2005 21:39:27 -0000 2.7
+++ setobject.h 2 Aug 2005 03:45:16 -0000 2.8
@@ -13,6 +13,10 @@
1. Unused: key == NULL
2. Active: key != NULL and key != dummy
3. Dummy: key == dummy
+
+Note: .pop() abuses the hash field of an Unused or Dummy slot to
+hold a search finger. The hash field of Unused or Dummy slots has
+no meaning otherwise.
*/
#define PySet_MINSIZE 8
More information about the Python-checkins
mailing list