-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Milestone
Description
The executor isn't robust against the output of non-valid UTF-8.
If a student program generates an output that is neither ASCII nor UTF-8, the executor crashes. This is also true is the student program and the runtime generated ANSI control codes to color the error message.
While the validator could use a try-except to handle such cases, the output is lost in any case.
Suggestion: Instead of (utf-8-)strings the output (and probably the input and the standard error) should use byte stings.
Disadvantage: This would be a breaking change.
Metadata
Metadata
Assignees
Labels
No labels