Sorry for the noise, patch updated again. This time it uses a weakref.finalizer instead of __del__. This is a little a cleaner solution. Moreover the finalizer is guaranteed to be called (at the latest at exit), whereas __del__ is not.
** Patch added: "apt-xapian-index_0.47ubuntu13.1.debdiff" https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1652641/+attachment/4943263/+files/apt-xapian-index_0.47ubuntu13.1.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1652641 Title: crash in indexer.py, AttributeError: 'NoneType' object has no attribute 'unlink' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-xapian-index/+bug/1652641/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
