-
Notifications
You must be signed in to change notification settings - Fork 46
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
Crashes if yaml file contains only a comment #129
Comments
I'd expect this to return an empty dictionary, rather than crashing |
It's valid YAML according to https://www.yamllint.com/ |
Result from YPaste Interactive Parser. I think this should not return an empty dictionary because it's different. |
This YAML file |
This is not a bug for the same reason as #143. But this is hard to notice that this is intentional. |
This crash was never intentional. #219 fixed it to return |
Given the yaml file:
The following code crashes:
With the error:
You can get an even quicker crash via:
The text was updated successfully, but these errors were encountered: