R. David Murray added the comment: Before python 3.4, __del__ methods are problematic. During interpreter shutdown various module attributes get set to None, which is probably what is triggering the error.
It is unlikely there is a Python bug here: it is a known and documented issue that module attributes can disappear (get set to None) before __del__ methods are run, if objects are not GCed before interpreter shutdown starts. (Pre 3.4. In 3.4 this situation is much improved.) ---------- nosy: +r.david.murray _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20836> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com