[IPython-user] How does one get sys.last_traceback in ipython?

Fernando Perez Fernando.Perez at colorado.edu
Sun Mar 12 01:55:41 CST 2006


R. Bernstein wrote:
> In the stock python interpreter if one imports sys and runs a program
> that raises an error, sys.last_traceback is set.
> 
> However in ipython sys.last_traceback is not set. (My guess is because
> ipython fields the request.)

Note that this has been put back in, as of tonight's SVN.

Cheers,

f




More information about the IPython-user mailing list