[Python-checkins] python/dist/src/Include symtable.h,2.15,2.16

nascheme@users.sourceforge.net nascheme at users.sourceforge.net
Sun Oct 23 20:37:20 CEST 2005


Update of /cvsroot/python/python/dist/src/Include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19669/Include

Modified Files:
	symtable.h 
Log Message:
Fix private name mangling.  The symtable also must do mangles so that
the scope of names can be correctly determined.


Index: symtable.h
===================================================================
RCS file: /cvsroot/python/python/dist/src/Include/symtable.h,v
retrieving revision 2.15
retrieving revision 2.16
diff -u -d -r2.15 -r2.16
--- symtable.h	21 Oct 2005 04:19:49 -0000	2.15
+++ symtable.h	23 Oct 2005 18:37:16 -0000	2.16
@@ -17,7 +17,7 @@
         PyObject *st_stack;      /* stack of namespace info */
 	PyObject *st_global;     /* borrowed ref to MODULE in st_symbols */
 	int st_nblocks;          /* number of blocks */
-	char *st_private;        /* name of current class or NULL */
+	PyObject *st_private;        /* name of current class or NULL */
         int st_tmpname;          /* temporary name counter */
 	PyFutureFeatures *st_future; /* module's future features */
 };



More information about the Python-checkins mailing list