List limits

Raymond Hettinger vze4rx4y at
Mon Dec 20 22:34:05 CET 2004

> How many items can be stored in a Python list? I have close to 70,000
> items... is this within a lists limits?

Lists store pointers to objects.  Unless you have a lot of duplicates, it is the
objects themselves that will consume most of your memory.  The list itself will
likely be small in comparison.

Raymond Hettinger

More information about the Python-list mailing list