Excerpts from Simon Schampijer's message of 2011-07-27 12:17:11 +0200:
The outer try does check for an import error as well. Maybe it is
clearer to do:
try:
# IPython 0.11+
from IPython.core.ultratb import AutoFormattedTB
except ImportError:
# IPython 0.10.2 and below
On 07/24/2011 08:52 PM, Sascha Silbe wrote:
From: Julian Taylorjtaylor.deb...@googlemail.com
IPython 0.11 has changed API: AutoFormattedTB is now in IPython.core.ultratb,
not in IPython.ultraTB. We automatically fall back to the pre-0.11 names if
the 0.11 import statement fails.
[added
From: Julian Taylor jtaylor.deb...@googlemail.com
IPython 0.11 has changed API: AutoFormattedTB is now in IPython.core.ultratb,
not in IPython.ultraTB. We automatically fall back to the pre-0.11 names if
the 0.11 import statement fails.
[added comments, changed description]
Signed-off-by: Sascha
3 matches
Mail list logo