-
Notifications
You must be signed in to change notification settings - Fork 269
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
grays out site packages in tracebacks #33
Conversation
@glennholloway @kzidane @crossroads1112 @brianyu28 @curiouskiwi what do you think? Much like the library transparently disables stdout/stderr buffering, so is this feature meant to facilitate development and debugging for students. Rather than hide system files altogether, it simply grays them out to highlight students' own code. |
@glennholloway @kzidane @crossroads1112 @brianyu28, updated screenshots and code itself. Adds Flask support now. |
@brianyu28 mind testing this out before I merge? |
Tested, seems to work on the errors I tried! |
If user does
import cs50
orfrom cs50 import...
, tracebacks are darkened per below.CLI
before
after
Flask
before
after