Martin v. Löwis <mar...@v.loewis.de> added the comment:

> This is all true but the dispatching isn't used there actually.
> dispatching is being used in a polling manner to try to catch the
> thread running the tcl interpreter which someone tried to call into,
> the code then proceeds to do what you described.

Right. If the main thread doesn't actually invoke mainloop(), the
Tcl events don't get dispatched, and the RPC system breaks down,
effectively leading to a deadlock. To prevent application
breakage during startup, a grace period is added in case applications
create threads before starting the mainloop.

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue3638>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to