From 2ccf368fdb0909da1bc34970c1983ddcc384e56d 2012-01-12 22:21:42
From: Thomas Kluyver <takowl@gmail.com>
Date: 2012-01-12 22:21:42
Subject: [PATCH] Remove try/except to catch a bug fixed in Python 2.4.

---

diff --git a/IPython/core/ultratb.py b/IPython/core/ultratb.py
index 5556d55..61f5e6a 100644
--- a/IPython/core/ultratb.py
+++ b/IPython/core/ultratb.py
@@ -794,15 +794,7 @@ class VerboseTB(TBTools):
                 # keep the original file string.
                 pass
             link = tpl_link % file
-            try:
-                args, varargs, varkw, locals = inspect.getargvalues(frame)
-            except:
-                # This can happen due to a bug in python2.3.  We should be
-                # able to remove this try/except when 2.4 becomes a
-                # requirement.  Bug details at http://python.org/sf/1005466
-                inspect_error()
-                traceback.print_exc(file=self.ostream)
-                info("\nIPython's exception reporting continues...\n")
+            args, varargs, varkw, locals = inspect.getargvalues(frame)
 
             if func == '?':
                 call = ''