Skip to content
  • Julian Andres Klode's avatar
    arfile: Regression: Collect file<->deb/ar reference cycles · 2bf44f00
    Julian Andres Klode authored
    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.
    2bf44f00