[IPython-dev] [Enthought-Dev] [matplotlib-devel] Ctypes based prototype of PyOS_InputHook for wx 2.8 and 2.9

Robert Kern rkern at enthought.com
Fri Jul 17 18:01:33 EDT 2009

On Fri, Jul 17, 2009 at 16:54, Brian Granger<ellisonbg.net at gmail.com> wrote:
> Gael,
>> Polling at 100Hz is a horrendous solution from a technical point of view.
>> I typical have a dozen IPython instances opened, where I have been
>> working a while ago, but not doing anything right now, because I am
>> planning to come back to it. Having these all poll at a 100Hz wil keep my
>> laptop hot, make it switch context all the time, and drain the battery.
>> Adobe Flash works that way. I use it as seldom as possible.
> I agree that polling is a non-optimal approach.  But, until wx supports
> monitoring stdin from within the event loop, we are stuck with polling.

Can you describe the patch you are putting together for wxPython? or
is it wxWidgets? Perhaps there is a way for us to monkeypatch the same
approach into old versions.

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco

More information about the IPython-dev mailing list