Kaydet (Commit) 70b041bb authored tarafından Tim Peters's avatar Tim Peters

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.
üst d8b2173e
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment