[Python-checkins] python/dist/src/Objects frameobject.c, 2.73,
2.73.14.1
jhylton at users.sourceforge.net
jhylton at users.sourceforge.net
Tue Oct 21 14:15:46 EDT 2003
Update of /cvsroot/python/python/dist/src/Objects
In directory sc8-pr-cvs1:/tmp/cvs-serv17150
Modified Files:
Tag: release23-maint
frameobject.c
Log Message:
Backport removal of bogus Py_DECREF() and indentation fix.
Index: frameobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/frameobject.c,v
retrieving revision 2.73
retrieving revision 2.73.14.1
diff -C2 -d -r2.73 -r2.73.14.1
*** frameobject.c 5 Feb 2003 22:39:29 -0000 2.73
--- frameobject.c 21 Oct 2003 18:15:44 -0000 2.73.14.1
***************
*** 745,753 ****
j = f->f_nlocals;
if (f->f_nlocals)
! map_to_dict(map, j, locals, fast, 0);
if (f->f_ncells || f->f_nfreevars) {
if (!(PyTuple_Check(f->f_code->co_cellvars)
&& PyTuple_Check(f->f_code->co_freevars))) {
- Py_DECREF(locals);
return;
}
--- 745,752 ----
j = f->f_nlocals;
if (f->f_nlocals)
! map_to_dict(map, j, locals, fast, 0);
if (f->f_ncells || f->f_nfreevars) {
if (!(PyTuple_Check(f->f_code->co_cellvars)
&& PyTuple_Check(f->f_code->co_freevars))) {
return;
}
More information about the Python-checkins
mailing list