4 ms·
Ouch. That tab error is a bug in libyaml, the YAML loader used by PyYAML. It's still stuck on YAML 1.1, but the spec explicitly allows tabs as whitespace, thoug
by xelxebar 2y ago
Ouch. That tab error is a bug in libyaml, the YAML loader used by PyYAML. It's still stuck on YAML 1.1, but the spec explicitly allows tabs as whitespace, though they don't count as indentation semantics.[0]
The same is true in YAML 1.2, so it's not just a legacy thing, either.
[0]:https://yaml.org/spec/1.1/#id893482 https://yaml.org/spec/1.1/#id893482
- Brian_K_White 2y agoGood god, indentation matters, yet some whitespace counts and some whitespace doesn't? What the ever loving hell.