Fixed bugs in resizetuple and extended the interface.

Added ifdefs in stringobject.c for shared strings of length 1.
Renamed free_list in tupleobject.c to free_tuples.
This commit is contained in:
Sjoerd Mullender 1993-11-01 13:46:50 +00:00
parent 0a2fa75a9c
commit 615194a352
4 changed files with 59 additions and 18 deletions

View file

@ -1319,7 +1319,7 @@ filtertuple(func, tuple)
}
}
if (resizetuple(&result, j) < 0)
if (resizetuple(&result, j, 0) < 0)
return NULL;
if (shared)