This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Jon Snoo, Victor Korolkevich, paul.moore, serhiy.storchaka, steve.dower, terry.reedy, tim.golden, zach.ware
Date 2015-11-04.15:10:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1446649842.25.0.61674480011.issue23760@psf.upfronthosting.co.za>
In-reply-to
Content
Related Tk issues:

http://core.tcl.tk/tk/tktview/822002ffffffffffffff
http://core.tcl.tk/tk/tktview/732662ffffffffffffff
http://core.tcl.tk/tk/tktview/1844034fffffffffffff
http://core.tcl.tk/tk/tktview/939389ffffffffffffff

The problem should be fixed (at least on Windows) in the last issue, but perhaps Tkinter doesn't execute this code.

A workaround is to make a pause about 0.1 sec (can be depend on perfomance of your computer, it doesn't work if the pause is too short). Append following lines to you example:

r.after(100, r.destroy)
r.mainloop()
History
Date User Action Args
2015-11-04 15:10:42serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, paul.moore, tim.golden, zach.ware, steve.dower, Victor Korolkevich, Jon Snoo
2015-11-04 15:10:42serhiy.storchakasetmessageid: <1446649842.25.0.61674480011.issue23760@psf.upfronthosting.co.za>
2015-11-04 15:10:42serhiy.storchakalinkissue23760 messages
2015-11-04 15:10:41serhiy.storchakacreate