[Python-Dev] Int FutureWarnings and other 2.4 TODOs

Anthony Baxter anthony at ekit-inc.com
Fri Dec 5 10:21:26 EST 2003


>>> 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.





More information about the Python-Dev mailing list