[IPython-dev] ctrl+c in gui, event loops, sure i'm missing something...

Ville M. Vainio vivainio@gmail....
Thu Feb 12 12:27:12 CST 2009


On Thu, Feb 12, 2009 at 6:09 PM, Gael Varoquaux
<gael.varoquaux@normalesup.org> wrote:

> feed it the namespace of the ipython1 engine. There needs to be a huge
> refactoring of ipython0, right now it is a tangle of objects calling each
> other, heavily coupled.

I do not disagree. Unfortunately, the most tangled places are the ones
that add most value for IPython. Also, a lot of the mess is there
because there are just so many features and "intricate details" (as is
evident from reading all the comments in the code). So it may be a
mess but it's a valuable mess with years of battle testing that can't
all be factored out. It's a delicate balance with using the effort to
1) get what you want or 2) have the clean code you want.

As I see it, if you are just using the current ipython0 core as a
server, you can ignore a lot of the messier parts because the code is
not executed at all. Also, you can see it as a black box that executes
code you push to it, producing the Right Thing on stdout.

-- 
Ville M. Vainio
http://tinyurl.com/vainio


More information about the IPython-dev mailing list