[Numpy-discussion] Interrupting long running calculations ....

Fernando Perez fperez.net@gmail....
Mon Aug 18 02:21:43 CDT 2008

On Mon, Aug 18, 2008 at 12:09 AM, Sebastian Haase <haase@msg.ucsf.edu> wrote:

> Another question, and not quite numpy specific, is how to generate
> this exception from another thread -- effectively "injecting" it into
> the calling stack !? I ask this, because I'm using wxPython, which
> makes things even more complicated .... :-(

An undocumented, unsupported, private hack is needed.   Have a look at
shell.py in ipython, around line 291:


for how to do it.



More information about the Numpy-discussion mailing list