Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove internal frames from SyntaxErrors #67

Open
gilch opened this issue Dec 6, 2020 · 3 comments
Open

Remove internal frames from SyntaxErrors #67

gilch opened this issue Dec 6, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@gilch
Copy link
Owner

gilch commented Dec 6, 2020

Displaying the inner workings of the compiler just adds noise for the end user.

@gilch
Copy link
Owner Author

gilch commented Dec 6, 2020

The REPL already does this, but you can still see the traceback for SyntaxErrors when running a main module, and maybe when compiling one.

@brandonwillard
Copy link
Contributor

I looked into this a while back, and it was a pretty tricky thing to do well.

@gilch
Copy link
Owner Author

gilch commented Jan 10, 2021

The way the REPL suppresses these makes them incompatible with doctests. It's easy enough to work around, but not ideal.

@gilch gilch added the enhancement New feature or request label May 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants