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.
1 parent e9dce11 commit 1b3b4e8Copy full SHA for 1b3b4e8
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:
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