Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Yaml] fix parsing negative octal numbers#34812
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
xabbuh commentedDec 4, 2019
| Q | A |
|---|---|
| Branch? | 3.4 |
| Bug fix? | yes |
| New feature? | no |
| Deprecations? | no |
| Tickets | |
| License | MIT |
| Doc PR |
xabbuh commentedDec 4, 2019
while working on#34807 I realised that we actually do not correctly parse negative octal numbers |
stof commentedDec 4, 2019
Based onhttps://yaml.org/spec/1.2/spec.html#id2805071, I don't think negative octal actually make sense in YAML |
stof commentedDec 4, 2019
OK, according tohttps://yaml.org/type/int.html, they do make sense in YAML 1.1 (and this octal without |
xabbuh commentedDec 4, 2019
In#34813 I am working on a deprecation. Looks like I need to improve that a bit so that in the future we will only support the |
fabpot commentedDec 7, 2019
Thank you@xabbuh. |
This PR was merged into the 3.4 branch.Discussion----------[Yaml] fix parsing negative octal numbers| Q | A| ------------- | ---| Branch? | 3.4| Bug fix? | yes| New feature? | no| Deprecations? | no| Tickets || License | MIT| Doc PR |Commits-------7ab53f9 fix parsing negative octal numbers