Python Database Query Size

Christian Tismer tismer at tismer.com
Sun Nov 12 05:22:39 EST 2000


Thomas Wouters wrote:
> 
> On Sun, Nov 12, 2000 at 04:31:47AM +0000, ryzam at my-deja.com wrote:
> 
> [ snip problems stuffing lots of data from a database into a python list ]
> 
> > I'm trying to check to another programme like php and asp to see it
> > performance. I think python list '[]' size cannot hold large data in
> > one time.. it will crash...
> 
> A Python list has only one limitation: its length cannot exceed the maximum
> value of an int on your system (typically about 2 milion.)

No, typically 2 Billion (2**31-1, 2147483647).

ciao - chris

-- 
Christian Tismer             :^)   <mailto:tismer at tismer.com>
Mission Impossible 5oftware  :     Have a break! Take a ride on Python's
Kaunstr. 26                  :    *Starship* http://starship.python.net
14163 Berlin                 :     PGP key -> http://wwwkeys.pgp.net
PGP Fingerprint       E182 71C7 1A9D 66E9 9D15  D3CC D4D7 93E2 1FAE F6DF
     where do you want to jump today?   http://www.stackless.com




More information about the Python-list mailing list