>>> Thomas Heller wrote > Guido van Rossum <guido at python.org> writes: > IIUC, doing range(10000000) in a program somewhere allocates 10 million > integers, and these are *never* freed, they live in the cache forever. > Correct? My understanding was that it was only ints between -5 and +100 that were cached forever.