[IPython-dev] Continuing from an exeption

Fernando Perez fperez.net at gmail.com
Thu Nov 22 16:15:20 EST 2007


On Nov 22, 2007 2:13 PM, Gael Varoquaux <gael.varoquaux at normalesup.org> wrote:
> On Thu, Nov 22, 2007 at 02:11:51PM -0700, Fernando Perez wrote:
> > > Is there a way to do this ?
>
> > No, the python language doesn't really support execution resumption
> > after an exception.  I imagine one could hack up something very nasty
> > that would involve an exec-like function that takes the existing stack
> > and restarts it with modified pointers to new code, but it's not
> > anything that I've seen done, nor that I plan on writing anytime soon
> > :)
>
> OK, thanks. I had come to this conclusion too.
>
> (you really are going through your backlog :->).

Well, travel and family matters are kind of over for a bit, so I'm
trying.  But it's a lost battle... :)

Cheers,

f



More information about the IPython-dev mailing list