Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUncaught exception by `repl.complete` #776
Closed
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When generating completions, bpython has to interact with the given objects. These objects might be the product of active development, so a bug in, for example,
__getattribute__of the user code happens sometimes. bpython should stomach such errors.Minimal reproducing example:
In the above session, I typed the
(, but it did not appear on screen. (Boo me, I edited that part.)I see two ways to fix this: Either wrap the code in
completein atry … finally, or wrap all the places where user code gets called. (This might be hard to find.)None of the other issues seem to be related.