[Python-checkins] python/dist/src/Python compile.c,2.330,2.331

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Sun Oct 24 02:10:09 CEST 2004


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

Modified Files:
	compile.c 
Log Message:
SF bug #1048870:  call arg of lambda not updating



Index: compile.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/compile.c,v
retrieving revision 2.330
retrieving revision 2.331
diff -u -d -r2.330 -r2.331
--- compile.c	29 Sep 2004 23:54:08 -0000	2.330
+++ compile.c	24 Oct 2004 00:10:05 -0000	2.331
@@ -261,6 +261,8 @@
 	if (cmp) return (cmp<0)?-1:1;
 	cmp = co->co_flags - cp->co_flags;
 	if (cmp) return (cmp<0)?-1:1;
+	cmp = co->co_firstlineno - cp->co_firstlineno;
+	if (cmp) return (cmp<0)?-1:1;
 	cmp = PyObject_Compare(co->co_code, cp->co_code);
 	if (cmp) return cmp;
 	cmp = PyObject_Compare(co->co_consts, cp->co_consts);



More information about the Python-checkins mailing list