-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Invalid python files, that ruff parse #7633
Comments
Related #6895 |
List of all cpython errors visible in files in first post
|
@dhruvmanila this could be an interesting source for obscure parser tests ;) |
Interesting! I think a lot of this messages shouldn't really be handled by the parser. Basically, a lot of them are soft syntax error which means they're not raised at the parsing step. For example, |
Ruff 0.0.291
Cpython 3.11.4
Tested with
and cpython part
https://github.com/qarmin/Automated-Fuzzer/releases/download/test/Cpython.no.parsable.parsable.by.ruff.zip
This makes difficult to report fuzzer problems, because I cannot with only ruff recognize if this is valid python file or not
Example of files
Example of cpython errors
The text was updated successfully, but these errors were encountered: