Mailing List Archive

python/dist/src/Objects longobject.c,1.129,1.130
Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv30357/python/Objects

Modified Files:
longobject.c
Log Message:
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.


Index: longobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/longobject.c,v
retrieving revision 1.129
retrieving revision 1.130
diff -C2 -d -r1.129 -r1.130
*** longobject.c 12 Aug 2002 19:30:26 -0000 1.129
--- longobject.c 12 Aug 2002 19:38:01 -0000 1.130
***************
*** 1664,1668 ****

/* 1. Allocate result space. */
! ret = _PyLong_New(asize + bsize + 1);
if (ret == NULL) goto fail;
#ifdef Py_DEBUG
--- 1664,1668 ----

/* 1. Allocate result space. */
! ret = _PyLong_New(asize + bsize);
if (ret == NULL) goto fail;
#ifdef Py_DEBUG
***************
*** 1770,1774 ****
}

! #if 1
if (Py_GETENV("KARAT") != NULL)
z = k_mul(a, b);
--- 1770,1774 ----
}

! #if 0
if (Py_GETENV("KARAT") != NULL)
z = k_mul(a, b);