Mercurial > cpython-lru_cache-weakref
diff Objects/longobject.c @ 24764:f0bd5cd4b170 legacy-trunk
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.
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Mon, 12 Aug 2002 19:38:01 +0000 |
| parents | 5ed7c977d2a9 |
| children | 4cafd9dbc8b4 |
line wrap: on
line diff
--- a/Objects/longobject.c Mon Aug 12 19:30:26 2002 +0000 +++ b/Objects/longobject.c Mon Aug 12 19:38:01 2002 +0000 @@ -1663,7 +1663,7 @@ */ /* 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 @@ return Py_NotImplemented; } -#if 1 +#if 0 if (Py_GETENV("KARAT") != NULL) z = k_mul(a, b); else
