Javier Dehesa added the comment:

Yeah is quite subtle, I should have pointed it out...
The difference is that `root.mainloop()` is called inside `make_var_cb(root)` 
in the first example and under `if __name__ == '__main__'` in the second one. I 
have experience the problem on Windows 10, and I'd say there is a good chance 
it's a platform-specific thing...

----------

_______________________________________
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

Reply via email to