Add warning about Lambert's bug.

This commit is contained in:
Guido van Rossum 1991-04-16 08:41:06 +00:00
parent ac029489d0
commit bfe14c5c92
1 changed files with 3 additions and 0 deletions

View File

@ -344,6 +344,9 @@ list_repeat(a, n)
return (object *) np;
}
/* XXX The following function has a bug: don't try assigning a
XXX list object to a slice of itself (e.g., a[:1] = a). */
static int
list_ass_slice(a, ilow, ihigh, v)
listobject *a;