On Sun, 2005-07-24 at 11:50 -0700, Robert Kern wrote: > Soeren Sonnenburg wrote: > > On Sun, 2005-07-24 at 13:36 +1000, Steven D'Aprano wrote: > > > >>On Sat, 23 Jul 2005 18:30:02 +0200, Soeren Sonnenburg wrote: [...] > >>Lists in Python can contain anything, not just numeric values. > > > > That seems to be *the point*. > > Whose point? If you mean that you want to be able to use arbitrary > objects in an array, then look in numarray.objects for an array type > that handles arbitrary Python objects.
Well, one cannot efficiently deal with these 'list-arrays' as they can contain different data types (typechecking necessary; atlas etc won't work). [...] > > *I* would rather drop > > '+' and '*' to work like they do in *array ... > > Tough. It's 14 years or so too late to make that change. Ok got it. A seperate array type which can only contain objects of the same type simply makes sense. Soeren -- http://mail.python.org/mailman/listinfo/python-list