asdf icon indicating copy to clipboard operation
asdf copied to clipboard

Research/experiment with ruamel.yaml as an alternative to pyyaml

Open drdavella opened this issue 8 years ago • 1 comments

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.

drdavella avatar Nov 17 '17 14:11 drdavella

It should be reasonably trivial to support both. Certainly for versions of ruamel compatible with pyyaml

Cadair avatar Nov 17 '17 15:11 Cadair