Garbage collector strategy
Stephen Kellett
snail at objmedia.demon.co.uk
Wed Dec 22 05:55:10 EST 2004
In message <87brcmk76f.fsf at web.de>, Martin Drautzburg
<martin.drautzburg at web.de> writes
>Just for curiosity: does python use a mark-and-sweep garbage collector
>or simple reference counting? In the latter case it would not garbage
>collect circular references, right ?
gcmodule.c in the python sources shows the implementation, plus the code
for this is well documented.
Stephen
--
Stephen Kellett
Object Media Limited http://www.objmedia.demon.co.uk
RSI Information: http://www.objmedia.demon.co.uk/rsi.html
More information about the Python-list
mailing list