[issue6073] threading.Timer and gtk.main are not compatible
Jean-Paul Calderone
report at bugs.python.org
Wed May 27 21:51:40 CEST 2009
Jean-Paul Calderone <exarkun at divmod.com> added the comment:
pygtk doesn't release the GIL around its internal calls unless you call
threads_init. So I think this is pretty clearly just a misuse of the
pygtk library. There's nothing at all Python can do about it. If an
extension library doesn't release the GIL, no Python code can run
concurrently with it. In this case, the extension API you've invoked is
the Gtk main loop, which runs until you stop it, usually right before
your gtk app exits.
----------
nosy: +exarkun
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6073>
_______________________________________
More information about the Python-bugs-list
mailing list