diff options
author | Guido van Rossum <guido@python.org> | 1991-04-16 08:41:06 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1991-04-16 08:41:06 (GMT) |
commit | bfe14c5c923c52410c729e849fbdf14df9502af3 (patch) | |
tree | d59c8ecbf194606d6d7df851a6ba564a8dd99903 | |
parent | ac029489d06907aeb85ae243db84b6834e9d82aa (diff) | |
download | cpython-bfe14c5c923c52410c729e849fbdf14df9502af3.zip cpython-bfe14c5c923c52410c729e849fbdf14df9502af3.tar.gz cpython-bfe14c5c923c52410c729e849fbdf14df9502af3.tar.bz2 |
Add warning about Lambert's bug.
-rw-r--r-- | Objects/listobject.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 @@ 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; |