[Python-checkins] python/dist/src/Objects frameobject.c,2.65,2.66

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Thu, 29 Aug 2002 13:25:48 -0700


Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv20797/Objects

Modified Files:
	frameobject.c 
Log Message:
SF #561244: micro optimizations, builtins cannot be NULL, so use Py_INCREF

Index: frameobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/frameobject.c,v
retrieving revision 2.65
retrieving revision 2.66
diff -C2 -d -r2.65 -r2.66
*** frameobject.c	19 Aug 2002 16:54:08 -0000	2.65
--- frameobject.c	29 Aug 2002 20:25:46 -0000	2.66
***************
*** 288,292 ****
  	}
  	else
! 		Py_XINCREF(builtins);
  	f->f_builtins = builtins;
  	Py_XINCREF(back);
--- 288,292 ----
  	}
  	else
! 		Py_INCREF(builtins);
  	f->f_builtins = builtins;
  	Py_XINCREF(back);