Condition.wait(0.5) doesn't respect it's timeout

stephane.bisinger at gmail.com stephane.bisinger at gmail.com
Sun Apr 19 10:14:11 EDT 2009


On Apr 19, 2:31 pm, Piet van Oostrum <p... at cs.uu.nl> wrote:
> It appears that GTK and Python threads are incompatible UNLESS you call
> gtk.gdk.threads_init() before gtk.main(). In your case you can do it
> after the import gtk in contact_list.py. Then it should work.

Ok here's the deal: I'm not ending up in the gtk frontend. My code is
for the ncurses frontend, so there is no "import gtk" and "gtk.main()"
that gets executed in that case. But it is definitely around the
gobject thing, I'll try to search for this!



More information about the Python-list mailing list