Issue 813453: restrictions in _tkinter built with threaded tk undocumented (original) (raw)
Issue813453
Created on 2003-09-27 09:08 by doko, last changed 2022-04-10 16:11 by admin. This issue is now closed.
Messages (3) | ||
---|---|---|
msg18406 - (view) | Author: Matthias Klose (doko) * ![]() |
Date: 2003-09-27 09:08 |
Basically, raise some comments from the _tkinter.c module to the library reference: If Tcl is threaded, this approach won't work anymore. The Tcl interpreter is only valid in the thread that created it, and all Tk activity must happen in this thread, also. That means that the mainloop must be invoked in the thread that created the interpreter. Invoking commands from other threads is possible; _tkinter will queue an event for the interpreter thread, which will then execute the command and pass back the result. If the main thread is not in the mainloop, and invoking commands causes an exception; if the main loop is running but not processing events, the command invocation will block. | ||
msg109821 - (view) | Author: Terry J. Reedy (terry.reedy) * ![]() |
Date: 2010-07-10 06:21 |
Is this still valid (or has something already been added)? If so, do you still think it is needed (we seem to have gotten along without it for 7 years)? If so, will you rewrite the snippet (it starts with with a dangling 'this') and specify where you would put it? Response with reset this to open. | ||
msg185414 - (view) | Author: Georg Brandl (georg.brandl) * ![]() |
Date: 2013-03-28 10:00 |
Closing this due to lack of activity. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-10 16:11:26 | admin | set | github: 39318 |
2013-03-28 10:00:27 | georg.brandl | set | status: pending -> closednosy: + georg.brandlmessages: + |
2010-07-10 06:21:08 | terry.reedy | set | status: open -> pendingversions: + Python 3.1, Python 2.7, Python 3.2, - Python 3.0nosy: + terry.reedymessages: + resolution: out of date |
2009-02-14 12:10:03 | ajaksu2 | set | type: enhancementversions: + Python 3.0, - Python 2.5 |
2008-01-04 00:25:37 | christian.heimes | set | components: + Tkinterversions: + Python 2.6, Python 2.5, - Python 2.3 |
2003-09-27 09:08:58 | doko | create |