There is no built-in support for YAML in Python, and we already have an annoying number of different configuration file formats in the repo. And, YAML is a potentially large and complex format.
Would you be willing to use the "PYthon Literal" format instead? This is the format we use in //tools/mb/mb_config.pyl and a number of other places. It's basically the subset of Python parsable by ast.literal_eval.
Or, failing that, maybe json5?
I do understand that YAML can be nice and readable, perhaps more so than the others ...
As part of this effort would it make sense to fix up major documentation links that most chromium / blink developers depend on.
For instance the links and instructions in runtime-enabled-features doc are now outdated: https://www.chromium.org/blink/runtime-enabled-features
Thanks for the reminder, panicker@
Fixed https://www.chromium.org/blink/runtime-enabled-features . Searching on that site reveals there's no further reference to RuntimeEnabledFeatures.in or CSSProperties.in
Please help point out any other docs that need to be updated.
Comment 1 by sashab@chromium.org
, Jan 3 2017