lyst[:None]
Jacek Generowicz
jacek.generowicz at cern.ch
Mon May 26 03:12:07 EDT 2003
Tim Peters <tim.one at comcast.net> writes:
> sys.maxint is the largest positive platform C long, and containers
> in Python can't have more elements than the largest positive
> platform C int. On a 32-bit box, you can't even get close to the
> latter (let alone the former), since at least 4*len(list) bytes are
> needed just to store pointers to list's elements -- you run out of
> address space.
>
> On 64-bit boxes we'll *eventually* regret that the # of container elements
> is limited to the largest positive C int, but I don't believe that's popped
> up in real life yet.
But won't sys.maxint be correspondingly bigger on 64-bit boxes ?
More information about the Python-list
mailing list