[IPython-dev] excepthook-like behavior in ipython
Carl Smith
carl.input at gmail.com
Wed May 16 22:04:29 EDT 2012
Hi
I remember hearing that stdin in Notebook was something that you knew
how to implement, but needed time to get done. I was just wondering
what's going on with that.
Recently, I've been playing around on EC2, where having Notebook as a
fully functional, remote shell would be enormously useful. The current
need to have a bunch of stuff installed on your local machine before
you can actually use The Cloud is ridiculous.
On 16 May 2012 13:10, Thomas Kluyver <takowl at gmail.com> wrote:
> On 14 May 2012 10:25, Erik Tollerud <erik.tollerud at gmail.com> wrote:
>> Further investigation has
>> revealed that it only happens if I try to raise an exception of a
>> class exactly the same as what's given in the first argument to
>> set_custom_exc (Exception, in this case), while if I raise
>> sub-exceptions, everything works just fine. Is this a bug, or am I
>> mis-using it somehow?
>
> Having worked out what's going on, I would consider it a bug, although
> fixing it changes the API slightly. I've made a pull request for it.
>
> https://github.com/ipython/ipython/pull/1742
>
> Thomas
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
More information about the IPython-dev
mailing list