[IPython-dev] Re: [SciPy-dev] Generic gui_thread + IPython: solution already exists!

John Hunter jdhunter at ace.bsd.uchicago.edu
Mon Nov 15 14:47:32 EST 2004


>>>>> "Prabhu" == Prabhu Ramachandran <prabhu_r at users.sf.net> writes:
    Prabhu>  ipython -wthread [-tk] ipython -gthread [-tk]

    Prabhu> So if the user wants to try tkinter support they try with
    Prabhu> the option.  If they really want it to work they either
    Prabhu> move to Debian or rebuild Python/Tcl appropriately. ;-) I
    Prabhu> think that should do fine enough.  Those who never use
    Prabhu> Tkinter apps don't have to bother at all with the -tk
    Prabhu> option.

Following explicit is better than implicit, I think it should be a
flag.  ipython should warn if -gthread and -wthread are both given,
but otherwise accept combinations of -[gw]thread and -tk.  And the docs
of course should mention that tk requires threading built in and then
it should work great.

JDH




More information about the IPython-dev mailing list