[IPython-dev] Continuing from an exeption

Gael Varoquaux gael.varoquaux at normalesup.org
Thu Nov 22 16:13:31 EST 2007


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 :->).

Gaël



More information about the IPython-dev mailing list