Python garbage collection question

Fredrik Lundh fredrik at pythonware.com
Tue Dec 4 02:53:01 EST 2001


Jeff Davis wrote:
> I understand that Python uses a reference counting garbage collection
> algoritm. However, I noticed that some other langauges use a "mark and
> sweep" that does not require the INCREF and DECREF calls. Will the python
> development eventually lead up to a different style or is there some
> advantage to the current system? I am not trying to prod python in any
> direction, but I am curious about the garbage collection system.

reading the FAQ might help a bit:

    http://www.python.org/doc/FAQ.html#6.14

</F>





More information about the Python-list mailing list