diff Python/bltinmodule.c @ 30783:4833a9cd377e 2.3

regressing the performance bugfix -- Guido wants the performance bug left alone, because there can be no guarantee re the semantics of += vs + .
author Alex Martelli <aleaxit@gmail.com>
date Sat, 25 Oct 2003 23:22:55 +0000
parents 062857f6927f
children b77fd469ee35
line wrap: on
line diff
--- a/Python/bltinmodule.c	Sat Oct 25 14:17:15 2003 +0000
+++ b/Python/bltinmodule.c	Sat Oct 25 23:22:55 2003 +0000
@@ -1840,7 +1840,7 @@
 			}
 			break;
 		}
-		temp = PyNumber_InPlaceAdd(result, item);
+		temp = PyNumber_Add(result, item);
 		Py_DECREF(result);
 		Py_DECREF(item);
 		result = temp;