3 ms·
I actually didn't know that CPython had a way of breaking reference cycles. I seem to remember reading that reference counting was the only form of garbage coll
by rcthompson 10y ago
I actually didn't know that CPython had a way of breaking reference cycles. I seem to remember reading that reference counting was the only form of garbage collection that CPython did. Maybe this was the case in the past?
- jzl 10y agoIt was introduced in Python 2.0. You're not alone ... I still think of 2.0 as kinda new myself. :) Look in this doc for "Optional Collection of Cyclical Garbage": https://www.python.org/download/releases/2.0/ https://www.python.org/download/releases/2.0/
- rcthompson 10y agoReleased in October 2000... yeah, that's probably around the last time I paid any attention to the implementation details of GC in Python.