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

fix syntax error reporting from stdin (#357) #716

Merged
merged 1 commit into from Jul 19, 2022

Commits on Jul 16, 2022

  1. fix syntax error reporting from stdin (PyCQA#357)

    In b73a3d1, there was an assumption that text is None only if there was an
    encoding error with the file. However this was the case for all pythons before
    3.9 when reading code from stdin.
    
    This takes care to correctly report as much context as possible, so errors
    aren't silently dropped with the unhelpful "problem decoding source" message.
    stevenkaras committed Jul 16, 2022
    Configuration menu
    Copy the full SHA
    2c0278b View commit details
    Browse the repository at this point in the history