Commit 9dadff87 authored by Guido van Rossum's avatar Guido van Rossum

Add warning about Lambert's bug.

parent 62c8a304
......@@ -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;
......
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