From: Guido van Rossum Date: Tue, 16 Apr 1991 08:41:06 +0000 (+0000) Subject: Add warning about Lambert's bug. X-Git-Tag: v0.9.8~978 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bfe14c5c923c52410c729e849fbdf14df9502af3;p=thirdparty%2FPython%2Fcpython.git Add warning about Lambert's bug. --- diff --git a/Objects/listobject.c b/Objects/listobject.c index e496fcbf9630..ce27834d96cc 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;