3 ms·
One nitpick: > lack of real GC for data structures with cycles This has not been true since (AFAIK) Python 2.0, which was released 12 years ago.
by teraflop 14y ago
One nitpick:
> lack of real GC for data structures with cycles
This has not been true since (AFAIK) Python 2.0, which was released 12 years ago.
- cmccabe 14y ago> > lack of real GC for data structures with cycles > This has not been true since (AFAIK) Python 2.0, > which was released 12 years ago. Sorta. It seems that CPython still can't garbage collect objects in cycles if those objects have a __del__ method. See http://www.electricmonk.nl/log/2008/07/07/python-destructor-and-garbage-collection-notes/ http://www.electricmonk.nl/log/2008/07/07/python-destructor-... Or see gc.garbage, from http://docs.python.org/release/2.7.3/library/gc.html http://docs.python.org/release/2.7.3/library/gc.html