Are those features still the same?

Thomas Jollans thomas at jollans.com
Sat Jul 24 10:11:06 EDT 2010


On 07/24/2010 03:48 PM, Brian Quinlan wrote:
> 
> 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.

Oh dear, and all this time I thought python lists where implemented as
lists, without ever checking the code.




More information about the Python-list mailing list