[Python-checkins] python/dist/src/Python newcompile.c, 1.1.2.122, 1.1.2.123
jhylton@users.sourceforge.net
jhylton at users.sourceforge.net
Mon Oct 17 17:01:38 CEST 2005
Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29562/Python
Modified Files:
Tag: ast-branch
newcompile.c
Log Message:
Fix stack depth computation for yield (expression, not statement).
Index: newcompile.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/Attic/newcompile.c,v
retrieving revision 1.1.2.122
retrieving revision 1.1.2.123
diff -u -d -r1.1.2.122 -r1.1.2.123
--- newcompile.c 16 Oct 2005 05:19:44 -0000 1.1.2.122
+++ newcompile.c 17 Oct 2005 15:01:34 -0000 1.1.2.123
@@ -1544,7 +1544,7 @@
case EXEC_STMT:
return -3;
case YIELD_VALUE:
- return -1;
+ return 0;
case POP_BLOCK:
return 0;
More information about the Python-checkins
mailing list