[Python-checkins] python/dist/src/Python compile.c,2.354,2.355

nascheme@users.sourceforge.net nascheme at users.sourceforge.net
Fri Oct 21 20:09:22 CEST 2005


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

Modified Files:
	compile.c 
Log Message:
Use <lamba> as the function name for lambdas (matches old compiler).


Index: compile.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/compile.c,v
retrieving revision 2.354
retrieving revision 2.355
diff -u -d -r2.354 -r2.355
--- compile.c	21 Oct 2005 12:57:31 -0000	2.354
+++ compile.c	21 Oct 2005 18:09:19 -0000	2.355
@@ -1961,7 +1961,7 @@
 	arguments_ty args = e->v.Lambda.args;
 	assert(e->kind == Lambda_kind);
 
-	name = PyString_InternFromString("lambda");
+	name = PyString_InternFromString("<lambda>");
 	if (!name)
 		return 0;
 



More information about the Python-checkins mailing list