Python garbage collection question

Jeff Davis jdavis at empires.org
Mon Dec 3 23:59:41 EST 2001


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.

Thanks,
        Jeff



More information about the Python-list mailing list