[IPython-dev] [IPython-user] Release plans...
Fernando Perez
fperez.net at gmail.com
Thu Apr 5 19:18:38 EDT 2007
On 4/5/07, Stefan van der Walt <stefan at sun.ac.za> wrote:
> Indulge another stupid question from my side, please. Is this piece
> of code run from the main thread itself, or is it used in different
> threads? Why can't a person simply place
>
> import thread
> MAIN_THREAD_ID = thread.get_ident()
>
> at the top of Shell.py?
Because I know even less about threads than you do, that's why :)
> Yes, I know I show how little I know of threading, but now's as good a
> time as any to learn.
Your fix seems to work just fine, thanks. I hacked that yesterday in
a rush, and didn't even read any docs at all. I figured there HAD to
be an API for this.
I'll test further on my local copy, and commit later with a few other
things I've piled up here.
Thanks!!
best,
f
More information about the IPython-dev
mailing list