]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add warning about Lambert's bug.
authorGuido van Rossum <guido@python.org>
Tue, 16 Apr 1991 08:41:06 +0000 (08:41 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 16 Apr 1991 08:41:06 +0000 (08:41 +0000)
Objects/listobject.c

index e496fcbf9630730e5ea774af93f9f3b2155f2e05..ce27834d96cc868992874a59350921f2abd55792 100644 (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;