Circular references and python
James Logajan
JamesL at Lugoj.Com
Wed Feb 2 23:22:04 EST 2000
Neel Krishnaswami wrote:
> Apply Neil Schemenauer's patches that convinces Python to use the
> Boehm garbage collector, or just live with the garbage, if your
> program is relatively short-lived. You can find his patch at:
>
> http://www.acs.ucalgary.ca/~nascheme/python/gc.html
>
> Manually freeing memory is ugly and error-prone. Don't do it. :)
The vast majority of code (and programming languages) in the world require
explicit memory de-allocation. I don't believe that a GC scheme has yet been
invented that will work well for all problem domains. I'm sure if it had,
we'd all be using it by now. ;)
More information about the Python-list
mailing list