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 steve.dower
Recipients gpolo, james.mccormack, josh.r, paul.moore, serhiy.storchaka, steve.dower, tim.golden, zach.ware
Date 2019-03-25.16:14:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1553530478.01.0.962862670845.issue36408@roundup.psfhosted.org>
In-reply-to
Content
Windows only allows a single thread to access Win32 GUI elements at a time, and I'm fairly sure whichever part of Tcl/Tk/Tkinter is responsible for this makes sure it happens.

So if you're throwing lots of UI updates at the UI thread, then yeah, you're going to cause massive contention there. Not sure there's any way around it other than "don't do that" - while you *could* lock individual data structures, Windows doesn't permit that because it turns out people get it wrong and make programs that crash.
History
Date User Action Args
2019-03-25 16:14:38steve.dowersetrecipients: + steve.dower, paul.moore, tim.golden, gpolo, zach.ware, serhiy.storchaka, josh.r, james.mccormack
2019-03-25 16:14:38steve.dowersetmessageid: <1553530478.01.0.962862670845.issue36408@roundup.psfhosted.org>
2019-03-25 16:14:38steve.dowerlinkissue36408 messages
2019-03-25 16:14:37steve.dowercreate