[IPython-dev] Please end my confusion :-)

Ville M. Vainio vivainio at gmail.com
Sun Feb 3 17:15:17 EST 2008


On Feb 2, 2008 4:58 PM, Edward Ream <edreamleo at yahoo.com> wrote:

> Ville has been implicitly demonstrating, by various calm
> answers to my questions, that IPShellEmbed? hides some
> amazing technology. Over and over, I have thought something

There is nothing amazing in there.

The magic is on Leo side - the ipshell() call, which blocks, does not
block the Leo event loop. That makes it all work so easily. Does Leo
run the scripts in separate threads?

> The essence of my confusion is that it appears that Leo can
> pretend that only one process is involved, and I have no
> idea how that magic could be possible.

One one process is involved, the Leo process (that happens to run
IPython as well).

-- 
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'



More information about the IPython-dev mailing list