arfile: Regression: Collect file<->deb/ar reference cycles
The internal FileFd object now owned the PyObject* that gave us the descriptor but we were never visiting that object during garbage collection, so if there was a cycle, Python could not realize that. Make the objects garbage collectable, by adding VISIT and CLEAR calls for self->Fd, and by making the FileFd object support garbage collection in the first place.
Please register or sign in to comment