Few questions

Istvan Albert ialbert at mailblocks.com
Mon Nov 1 13:56:49 EST 2004


bearophile wrote:


> but the memory used by the list isn't free even a little time later. 

Moreover won't ever be freed (from the operating system's view)
until the program ends. That's how C works and has nothing to do
with the kind of object that was allocated for. The only thing that
a free() operation is required to do is to make the freed
memory available for allocation within the same program.

Istvan.



More information about the Python-list mailing list