[Python-checkins] CVS: python/dist/src/Objects frameobject.c,2.49.4.3,2.49.4.4

Guido van Rossum gvanrossum@users.sourceforge.net
Mon, 11 Jun 2001 11:40:40 -0700


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

Modified Files:
      Tag: descr-branch
	frameobject.c 
Log Message:
By mistake there were two definitions for f_locals: a simple
descriptor in the list of members, and a getter function.  Recent
changes in typeobject.c changed the precedence between these, and the
one from the memberlist took precedence.  But it's bogus, so get rid
of it.  (This caused test_inspect.py to fail.)


Index: frameobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/frameobject.c,v
retrieving revision 2.49.4.3
retrieving revision 2.49.4.4
diff -C2 -r2.49.4.3 -r2.49.4.4
*** frameobject.c	2001/06/06 14:27:54	2.49.4.3
--- frameobject.c	2001/06/11 18:40:38	2.49.4.4
***************
*** 16,20 ****
  	{"f_builtins",	T_OBJECT,	OFF(f_builtins),RO},
  	{"f_globals",	T_OBJECT,	OFF(f_globals),	RO},
- 	{"f_locals",	T_OBJECT,	OFF(f_locals),	RO},
  	{"f_lasti",	T_INT,		OFF(f_lasti),	RO},
  	{"f_lineno",	T_INT,		OFF(f_lineno),	RO},
--- 16,19 ----