[IPython-dev] Uniform way of integrating event loops among different IDE's

Almar Klein almar.klein@gmail....
Tue Sep 7 02:36:19 CDT 2010


On 6 September 2010 22:45, Fernando Perez <fperez.net@gmail.com> wrote:

> On Mon, Sep 6, 2010 at 1:32 PM, Almar Klein <almar.klein@gmail.com> wrote:
> >
> > May I suggest to put in a start_event_loop_* for tk and gtk even if
> they'd
> > just do "pass"? It would look more uniform to the user. Now it looks a
> bit
> > like gtk and tk are not yet supported.
>
> Even better, we just put in there
>
> # GTK
>
> # Go home happy, you don't need to do anything for GTK!  Your code
> works without any extra modifications needed :)
>
> I'd rather just explain that to people than make them do busy calls
> that serve no purpose.  Most people (with a few exceptions, obviously)
> only write code for the toolkit they use, so the gtk crowd (and
> possibly tk/fltk) will just register "I don't have to worry about it"
> and move on, rather than sprinkling all their codes with extra no-ops.
>

In general, this "busy call" is only done once per application right? So not
much harm done IMO.

But well, if properly documented, I can agree with your suggestion.

Cheers,
  Almar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-dev/attachments/20100907/cd89b095/attachment.html 


More information about the IPython-dev mailing list