summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-08-12 19:38:01 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-08-12 19:38:01 (GMT)
commit70b041bbe737e6b0d87183a63cbcd3d72edb90e8 (patch)
tree6c93e0ac3ccb517726c9fe2009cf04a5c1f1bb23 /Objects
parentd8b2173ef97edecadcc171dc5fce95ee13ee9d3d (diff)
downloadcpython-70b041bbe737e6b0d87183a63cbcd3d72edb90e8.zip
cpython-70b041bbe737e6b0d87183a63cbcd3d72edb90e8.tar.gz
cpython-70b041bbe737e6b0d87183a63cbcd3d72edb90e8.tar.bz2
k_mul(): Heh -- I checked in two fixes for the last problem. Only keep
the good one <wink>. Also checked in a test-aid by mistake.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/longobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index 0f4910e..95e32ce 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -1663,7 +1663,7 @@ k_mul(PyLongObject *a, PyLongObject *b)
*/
/* 1. Allocate result space. */
- ret = _PyLong_New(asize + bsize + 1);
+ ret = _PyLong_New(asize + bsize);
if (ret == NULL) goto fail;
#ifdef Py_DEBUG
/* Fill with trash, to catch reference to uninitialized digits. */
@@ -1769,7 +1769,7 @@ long_mul(PyLongObject *v, PyLongObject *w)
return Py_NotImplemented;
}
-#if 1
+#if 0
if (Py_GETENV("KARAT") != NULL)
z = k_mul(a, b);
else