Hello Eric and Fernando,

thank you very much for your answers.  It helped :-/  I think I was a
bit too fast here.  Eric, you are precisely right, I should have done
more investigation before.  I think this issue (my issue) should be
clarified now.  I was just alert by the feedback of other users about
hang-ups, I don't know if it was a good idea to bring this to the
list, though.  My apologises.  Just had too many hidden hang-ups in my
own threaded Tkinter code.

Talking is cheap :-/

Friedrich

2010/10/10 Fernando Perez <fperez....@gmail.com>:
> Two things to note:
>
> - ipython, even in the 0.10 series, uses threads for the Qt, Gtk and
> Wx backends, but *not* for Tk, because python automatically pumps the
> Tk event loop when the console blocks on reading (via the C API
> PyOSInputHook call).  So there is exactly *zero* threading added by
> ipython in the specific case of a Tk backend.

This is very interesting, I always asked myself how this works.

> - in the 0.11 ipython series, we abandoned threading altogether (it's
> just too brittle) and moved to a model similar to the Tk one for *all*
> backends, we now use PyOSInputHook with all mpl backends.
>
> hth,
>
> f

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to