Ingy döt Net
Ingy döt Net
Also re https://sourceforge.net/p/yaml/mailman/yaml-core/thread/CAHJtQJ4YE19fZS%2B7fGJ11P17w6P%2BPi27GcLXtdSv6L5uxeAofA%40mail.gmail.com/#msg37404600 In which you show the libyaml test suite not working, I was able to run this: ``` ★ ~ $ git clone [email protected]:yaml/libyaml && (cd libyaml &&...
Ah but they are not the very same parser. They are the 2 distinctly different parsers that PyYAML contains. A pure Python one and libyaml. Note that libyaml was originally...
The path resolver is an old experimental feature. You're the first person that I've seen mention it. It may get deprecated. We're working on new stuff that will allow you...
I added it for consideration here: https://github.com/yaml/pyyaml/projects/9
When a yaml loader loads a yaml stream there are these phases under the hood: `(text)->scan->(tokens)->parse->(events)->compose->(node graph)->construct->(native)` BTW `yaml.scan`, `yaml.parse` and `yaml.compose` are all part of the PyYAML API just...
As @Thom1729 said > Tag resolution is the process of taking each node with a non-specific tag and assigning it a specific tag. Tags themselves are annotation strings that can...
> ``` > # would prefer > someKey: @do_not_inherit someValue > ``` There's no reason you couldn't do this now using: ``` someKey: !do_not_inherit someValue # or: someKey: !do_not_inherit [...
That is a serious flaw in yamllint as the second form is the preferred emission form and the default form of many dumpers including libyaml, the library upon which many...
Or shorter still: ``` a: "a\nb\nc\n" ``` Most dumpers have to guess how to dump a string.This is one of those items where it's hard to guess. I do agree...
OK I've added this to https://github.com/yaml/pyyaml/projects/9 So we'll look at that for the next release, though I can't say when that will happen.