Paul Moore added the comment: I suspect that the problem is somehow related to garbage collection - in your failing example you don't keep any references to v or cb. I don't know what references tkinter keeps internally, it may be that this is OK because the root window is guaranteed to keep references to everything, but it's certainly worth a look.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30678> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com