On Mon, Aug 18, 2008 at 12:09 AM, Sebastian Haase <[EMAIL PROTECTED]> 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:

http://bazaar.launchpad.net/~ipython-dev/ipython/trunk/annotate/1107?file_id=shell.py-20080216095032-xb0is4a97lmosv2z-38

for how to do it.

Cheers,

f
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to