diff --git a/Objects/listobject.c b/Objects/listobject.c index e496fcbf963..ce27834d96c 100644 --- a/Objects/listobject.c +++ b/Objects/listobject.c @@ -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;