why not arrays?

Thomas Bartkus tom at dtsam.com
Thu Dec 16 09:16:15 EST 2004


Because the "list" object covers all the functionality contained in the
traditional "array" structure. If it pleases you , you can ignore the
additional conveniences the list object offers and just treat it like an
ordinary array.

Unless, of course, what you are seeking are the joys associated with memory
allocation/deallocation :-)
Thomas Bartkus

"Rahul" <codedivine at gmail.com> wrote in message
news:1103205078.423240.297790 at f14g2000cwb.googlegroups.com...
> Hi.
> I just wanted to know why arrays have not been included as a builtin
> datatype like lists or dictionaries? The numpy extension shows that it
> can be implemented. then why not include arrays in core python?
> rahul
>





More information about the Python-list mailing list