[SciPy-dev] gui_thread and chaco under Linux

Prabhu Ramachandran prabhu at aero.iitm.ernet.in
Thu Oct 9 09:02:51 CDT 2003


>>>>> "PP" == Pearu Peterson <pearu at scipy.org> writes:

    >> Nice.  This looks to be similar to the code written for Gtk by
    >> someone.  IIRC it was available on ASPN.

    PP> You probably mean

    PP>   http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65109

Yes thats it.

    PP> that indeed has very similar basic idea.  The main difference
    PP> with ParallelExec is that ParallelExec implementation is more
    PP> generic and can be used also in non-GUI applications.

Yeah.  The Gtk version also provides an interpreter etc. which is not
what we want here but as you say the basic idea is similar.

    >> orig_apply = apply def apply(o, *args, **kwargs):
    >> pexec('orig_apply(o, *args, **kwargs)')
    >> I don't know if this will work with pexec the way its
    >> implemented currently but I think you get what I'm trying to
    >> say here.

    PP> Yes, I think it is a very good idea to try out. If there are
    PP> not calls to wxPython functions during wxPython import then
    PP> this should work just fine.  And using ParallelExec here
    PP> should give no problems.  I'll check it..

Looking forward to seeing your results!  Good luck!


More information about the Scipy-dev mailing list