| 45 | # An instance of C1055820 has a self-loop, so becomes cyclic trash when |
| 46 | # unreachable. |
| 47 | class C1055820(object): |
| 48 | def __init__(self, i): |
| 49 | self.i = i |
| 50 | self.loop = self |
| 51 | |
| 52 | class GC_Detector(object): |
| 53 | # Create an instance I. Then gc hasn't happened again so long as |
no outgoing calls
searching dependent graphs…