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

Enhance new Python Errors #125

Open
acbart opened this issue Jun 29, 2024 · 1 comment
Open

Enhance new Python Errors #125

acbart opened this issue Jun 29, 2024 · 1 comment
Labels
enhancement New feature or request Pedal Core Issues pertaining to Reports, Submissions, and other core infrastructure Sandbox Tool Issues pertaining to the Sandbox module (running student code) Source Tool Issues pertaining to the Source tool (verifying/managing student code)

Comments

@acbart
Copy link
Collaborator

acbart commented Jun 29, 2024

There's a bunch of new enhancements to built-in python runtime and syntax errors. We should do more to support and enhance them.

For example, SyntaxError can now give messages about things like "unterminated string literals". Novices probably don't know what that means.

The exact messages here might need to be parsed and manipulated, or something. They aren't just different errors. We'll need to do a lot of investigating here.

@acbart acbart added enhancement New feature or request Sandbox Tool Issues pertaining to the Sandbox module (running student code) Pedal Core Issues pertaining to Reports, Submissions, and other core infrastructure Source Tool Issues pertaining to the Source tool (verifying/managing student code) labels Jun 29, 2024
@acbart
Copy link
Collaborator Author

acbart commented Jun 29, 2024

I wonder if we should do enhancements like looking for the substring "string literal" and then just define that term if it's found? Better than trying to regex for exact complicated strings, probably...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Pedal Core Issues pertaining to Reports, Submissions, and other core infrastructure Sandbox Tool Issues pertaining to the Sandbox module (running student code) Source Tool Issues pertaining to the Source tool (verifying/managing student code)
Projects
None yet
Development

No branches or pull requests

1 participant