##// END OF EJS Templates
Ignore all exceptions in getargspec()
Jeroen Demeyer -
Show More
@@ -907,7 +907,7 class Inspector(Colorable):
907 if callable_obj is not None:
907 if callable_obj is not None:
908 try:
908 try:
909 argspec = getargspec(callable_obj)
909 argspec = getargspec(callable_obj)
910 except (TypeError, AttributeError):
910 except Exception:
911 # For extensions/builtins we can't retrieve the argspec
911 # For extensions/builtins we can't retrieve the argspec
912 pass
912 pass
913 else:
913 else:
General Comments 0
You need to be logged in to leave comments. Login now