Fix for %tb magic. #1396

Merged
merged 1 commit into from Feb 11, 2012

Projects

None yet

2 participants

@takluyver
IPython member

In order for the %tb magic to work as expected, no other error can be raised by invoking it. Even if an error is caught immediately, it affects the 'last error' values in sys.

This cuts a try/except block out of ip.magic(). Happily, in this case there was a simpler way to do the same thing.

@minrk minrk merged commit 920beab into ipython:master Feb 11, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment