[Python-checkins] python/dist/src/Python bltinmodule.c,2.300,2.301

aleax at users.sourceforge.net aleax at users.sourceforge.net
Sat Oct 25 19:24:16 EDT 2003


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

Modified Files:
	bltinmodule.c 
Log Message:
regressing the performance bugfix -- Guido wants the performance bug left
alone, because there can be no guarantee re the semantics of += vs + .



Index: bltinmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/bltinmodule.c,v
retrieving revision 2.300
retrieving revision 2.301
diff -C2 -d -r2.300 -r2.301
*** bltinmodule.c	25 Oct 2003 12:49:56 -0000	2.300
--- bltinmodule.c	25 Oct 2003 23:24:14 -0000	2.301
***************
*** 1841,1845 ****
  			break;
  		}
! 		temp = PyNumber_InPlaceAdd(result, item);
  		Py_DECREF(result);
  		Py_DECREF(item);
--- 1841,1845 ----
  			break;
  		}
! 		temp = PyNumber_Add(result, item);
  		Py_DECREF(result);
  		Py_DECREF(item);





More information about the Python-checkins mailing list