[Python-checkins] CVS: python/dist/src/Objects frameobject.c,2.50,2.50.2.1
Guido van Rossum
gvanrossum@users.sourceforge.net
Fri, 15 Jun 2001 11:56:46 -0700
- Previous message: [Python-checkins] CVS: python/dist/src/Include compile.h,2.29,2.29.6.1 frameobject.h,2.31,2.31.6.1 graminit.h,2.16,2.16.10.1 opcode.h,2.35,2.35.4.1 symtable.h,2.7,2.7.6.1
- Next message: [Python-checkins] CVS: python/dist/src/Python ceval.c,2.246,2.246.2.1 compile.c,2.201,2.201.2.1 graminit.c,2.28,2.28.10.1 marshal.c,1.63,1.63.2.1 symtable.c,2.4,2.4.8.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv5899/Objects
Modified Files:
Tag: gen-branch
frameobject.c
Log Message:
Neil's generator patch, in the gen-branch.
Index: frameobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/frameobject.c,v
retrieving revision 2.50
retrieving revision 2.50.2.1
diff -C2 -r2.50 -r2.50.2.1
*** frameobject.c 2001/05/08 04:08:20 2.50
--- frameobject.c 2001/06/15 18:56:44 2.50.2.1
***************
*** 68,71 ****
--- 68,72 ----
int i, slots;
PyObject **fastlocals;
+ PyObject **p;
Py_TRASHCAN_SAFE_BEGIN(f)
***************
*** 77,80 ****
--- 78,85 ----
}
+ /* Free stack */
+ for (p = f->f_valuestack; p < f->f_stackbottom; p++) {
+ Py_XDECREF(*p);
+ }
Py_XDECREF(f->f_back);
Py_XDECREF(f->f_code);
***************
*** 222,225 ****
--- 227,231 ----
f->f_valuestack = f->f_localsplus + (f->f_nlocals + ncells + nfrees);
+ f->f_stackbottom = f->f_valuestack;
return f;
- Previous message: [Python-checkins] CVS: python/dist/src/Include compile.h,2.29,2.29.6.1 frameobject.h,2.31,2.31.6.1 graminit.h,2.16,2.16.10.1 opcode.h,2.35,2.35.4.1 symtable.h,2.7,2.7.6.1
- Next message: [Python-checkins] CVS: python/dist/src/Python ceval.c,2.246,2.246.2.1 compile.c,2.201,2.201.2.1 graminit.c,2.28,2.28.10.1 marshal.c,1.63,1.63.2.1 symtable.c,2.4,2.4.8.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]