From b4ccb82ea76b98457d9dc59424632ca412511ed4 Mon Sep 17 00:00:00 2001 From: Josh Ferrell Date: Wed, 15 Apr 2026 11:21:40 -0400 Subject: [Python API] Replace bare "except:" with "except Exception:" to fix signal propagation --- python/bncompleter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/bncompleter.py') diff --git a/python/bncompleter.py b/python/bncompleter.py index ed32907c..66bf1763 100644 --- a/python/bncompleter.py +++ b/python/bncompleter.py @@ -62,7 +62,7 @@ def fuzzy_match(target, query): def fnsignature(obj): try: sig = str(inspect.signature(obj)) - except: + except Exception: sig = "()" return sig -- cgit v1.3.1