Are those features still the same?

Brian Quinlan brian at sweetapp.com
Sat Jul 24 09:48:06 EDT 2010


On 24 Jul 2010, at 23:19, Thomas Jollans wrote:
>> "Support heterogeneous lists" ==> "Yes (array)"
>
> This is nonsense, and has always been.
> Python lists (not arrays) have always been heterogeneous. They store
> objects and don't care about the type. Python arrays (from the array
> module) are homogeneous, and limited to storing numerical data.  
> Quite a
> different beast.

He means that Python lists are implemented using arrays, not that the  
Python "array" module provides the functionality.

Cheers,
Brian




More information about the Python-list mailing list