A few questions
Josiah Carlson
josiah.carlson at sbcglobal.net
Mon May 21 21:22:50 EDT 2007
Christopher Arndt wrote:
> I have a few quibles with your summary of Python's properties:
> On 21 Mai, 08:16, John Nagle <n... at animats.com> wrote:
>> Memory management
>> is safe and managed by reference counts backed by a garbage collector.
>> Weak references are supported. Built in data types are numerics, ASCII
>> and Unicode strings, dynamic arrays, fixed size tuples, and hashes.
>
> Python lists are much more than arrays. More like a linked list.
> You forgot sets. And functions, classes, methods, instances.... (see
> above)
Python lists are implemented as C arrays that are resized as necessary.
- Josiah
More information about the Python-list
mailing list