[Python-checkins] python/dist/src/Python bltinmodule.c,2.261.2.1,2.261.2.2

jhylton@users.sourceforge.net jhylton@users.sourceforge.net
Fri, 23 Aug 2002 11:22:14 -0700


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

Modified Files:
      Tag: ast-branch
	bltinmodule.c 
Log Message:
Call PyRun_StringFlags() instead of the macro.


Index: bltinmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/bltinmodule.c,v
retrieving revision 2.261.2.1
retrieving revision 2.261.2.2
diff -C2 -d -r2.261.2.1 -r2.261.2.2
*** bltinmodule.c	9 Jul 2002 13:22:01 -0000	2.261.2.1
--- bltinmodule.c	23 Aug 2002 18:22:11 -0000	2.261.2.2
***************
*** 984,988 ****
  			return NULL;
  	}
! 	res = PyRun_String(str, Py_eval_input, globals, locals);
  	Py_DECREF(line);
  	return res;
--- 984,988 ----
  			return NULL;
  	}
! 	res = PyRun_StringFlags(str, Py_eval_input, globals, locals, NULL);
  	Py_DECREF(line);
  	return res;