We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4a65c7b + b6d05c5 commit 441354eCopy full SHA for 441354e
bpython/repl.py
@@ -517,7 +517,11 @@ def get_args(self):
517
518
try:
519
f = self.get_object(func)
520
- except (AttributeError, NameError, SyntaxError):
+ except Exception:
521
+ # another case of needing to catch every kind of error
522
+ # since user code is run in the case of descriptors
523
+ # XXX: Make sure you raise here if you're debugging the completion
524
+ # stuff !
525
return False
526
527
if inspect.isclass(f):
0 commit comments