asdf
asdf copied to clipboard
Research/experiment with ruamel.yaml as an alternative to pyyaml
http://yaml.readthedocs.io/en/latest/pyyaml.html https://pypi.python.org/pypi/ruamel.yaml
ruamel.yaml appears to be under active development, whereas pyyaml has not been updated since 2016. It might be worth considering whether we should migrate to a newer library, as long as it meets our needs. It's also possible that ruamel.yaml might be more performant since it appears to be built with C extensions and/or Cython. This may make it less portable, though. It's also worth noting that ruamel.yaml supports YAML 1.1 and 1.2, whereas pyyaml only supports 1.1.
It should be reasonably trivial to support both. Certainly for versions of ruamel compatible with pyyaml