memory

bjorn bjorn at roguewave.com
Thu Jan 27 15:27:37 EST 2000


> Are there any issues with freeing memory in python?  Say for example I do a
>
>         d = array.array('i')
>         for i in range (2000):
>             d.append(0)
>
> Do I need to free 'd' before I quit the program?

Nope, happens automagically when you can't use it anymore (aka reference
counting).

-- bjorn





More information about the Python-list mailing list