-
Notifications
You must be signed in to change notification settings - Fork 521
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
Strange issue with invalid YAML #801
Comments
Why should the first be a parsing error?
For more info about the differences between YAML 1.1 and 1.2 check https://perlpunk.github.io/yaml-test-schema/schemas.html If you don't want sexagesimal numbers and you want to process YAML 1.2 files, check out https://pypi.org/project/yamlcore/ which can be used on top of PyYAML. |
Thank you for the explanation and the resources. Closing this issue BTW, I've found this resource https://pyyaml.org/wiki/YAMLColonInFlowContext that makes no mention to base 60 numbers |
I just had a quick look - https://yaml-online-parser.appspot.com/ is apparently using a very old copy of pyyaml (version 3.10): |
I opened an issue regarding the pyyaml version: ptarjan/online-yaml-parser#13 |
PyYAML 6.0.1
The 1st case should throw a parsing error and I don't even know how 62 got in there. Is this an issue with the parser or maybe a difference from rev 1.1 and 1.2 of the standard, which pyyaml does not support?
The text was updated successfully, but these errors were encountered: