Armin Ronacher added the comment: I can confirm that calling detach() in __del__ within an except block solves the issue.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21363> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com