commit | bfe14c5c923c52410c729e849fbdf14df9502af3 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Apr 16 08:41:06 1991 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Apr 16 08:41:06 1991 +0000 |
tree | d59c8ecbf194606d6d7df851a6ba564a8dd99903 | |
parent | ac029489d06907aeb85ae243db84b6834e9d82aa [diff] [blame] |
Add warning about Lambert's bug.
diff --git a/Objects/listobject.c b/Objects/listobject.c index e496fcb..ce27834 100644 --- a/Objects/listobject.c +++ b/Objects/listobject.c
@@ -344,6 +344,9 @@ 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;