Jan Kanis added the comment: I have verified that DemoWindow._destroy(self) indeed gets called before the exception is raised.
I did a bisect, on the default branch the bug was introduced by commit f0833e6ff2d2: "Issue #1545463: Global variables caught in reference cycles are now garbage-collected at shutdown." I will try bisecting the 3.3 branch to se where the bug stops appearing. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18141> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com