##// END OF EJS Templates
Remove try/except to catch a bug fixed in Python 2.4.
Thomas Kluyver -
Show More
@@ -794,15 +794,7 b' class VerboseTB(TBTools):'
794 # keep the original file string.
794 # keep the original file string.
795 pass
795 pass
796 link = tpl_link % file
796 link = tpl_link % file
797 try:
797 args, varargs, varkw, locals = inspect.getargvalues(frame)
798 args, varargs, varkw, locals = inspect.getargvalues(frame)
799 except:
800 # This can happen due to a bug in python2.3. We should be
801 # able to remove this try/except when 2.4 becomes a
802 # requirement. Bug details at http://python.org/sf/1005466
803 inspect_error()
804 traceback.print_exc(file=self.ostream)
805 info("\nIPython's exception reporting continues...\n")
806
798
807 if func == '?':
799 if func == '?':
808 call = ''
800 call = ''
General Comments 0
You need to be logged in to leave comments. Login now