[IPython-user] IPython 0.7.0 is out.
Sean Moore
smm at ibl.bm
Wed Jan 11 07:58:38 CST 2006
> OK, after reading:
>
> http://www.pygtk.org/pygtk2reference/gobject-functions.html#function-gobject--idle-add
> http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq21.003.htp
> http://www.async.com.br/faq/pygtk/index.py?req=show&file=faq03.007.htp
>
> I _may_ have understood something. Please do me _both_ a favor and try
>replacing Shell.py on your current copy with
>
> http://ipython.scipy.org/tmp/Shell.py
>
This appears to work fine for me, no keyboard lag and the cpu usage is well
behaved
(my win2k box). And no more warnings from matplotlib (once I updated my
.matplotlibrc file)
> and let me know how it goes. I went back to the idle_add solution, but with
>a tiny delay before return. Even using a sleep(0.01) does NOT give me
>100%CPU blocking on my linux box, and in fact it doesn't seem to raise the
>CPU usage at all. I'd like to know if this solution (which does seem like
>the 'right' thing to do, from my understanding of the GTK docs) works across
>OSes and versions.
>
> If that's the case, it would confirm my suspicion that the solution was not
>to try and shoehorn OS-dependent code into this, but rather actually
>undersanding the GTK API correctly.
>
Sean
More information about the IPython-user
mailing list