[Python-checkins] python/dist/src/Modules threadmodule.c,2.56,2.57

mondragon at users.sourceforge.net mondragon at users.sourceforge.net
Wed Mar 24 17:22:13 EST 2004


Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14535/Modules

Modified Files:
	threadmodule.c 
Log Message:
Changed random calls to PyThreadState_Get() to use the macro


Index: threadmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/threadmodule.c,v
retrieving revision 2.56
retrieving revision 2.57
diff -C2 -d -r2.56 -r2.57
*** threadmodule.c	16 Jun 2003 18:51:28 -0000	2.56
--- threadmodule.c	24 Mar 2004 22:22:11 -0000	2.57
***************
*** 234,238 ****
  	if (boot == NULL)
  		return PyErr_NoMemory();
! 	boot->interp = PyThreadState_Get()->interp;
  	boot->func = func;
  	boot->args = args;
--- 234,238 ----
  	if (boot == NULL)
  		return PyErr_NoMemory();
! 	boot->interp = PyThreadState_GET()->interp;
  	boot->func = func;
  	boot->args = args;




More information about the Python-checkins mailing list