yaml: use ruamel.yaml instead of pyyaml
- ruamel.yaml allows round-tripping comments from/to files - ruamel.yaml is single-source, python2/python3 compatible
Showing
- bin/spack 0 additions, 7 deletionsbin/spack
- lib/spack/external/__init__.py 9 additions, 4 deletionslib/spack/external/__init__.py
- lib/spack/external/ruamel/__init__.py 0 additions, 0 deletionslib/spack/external/ruamel/__init__.py
- lib/spack/external/ruamel/yaml/.ruamel/__init__.py 2 additions, 0 deletionslib/spack/external/ruamel/yaml/.ruamel/__init__.py
- lib/spack/external/ruamel/yaml/LICENSE 21 additions, 0 deletionslib/spack/external/ruamel/yaml/LICENSE
- lib/spack/external/ruamel/yaml/README.rst 38 additions, 0 deletionslib/spack/external/ruamel/yaml/README.rst
- lib/spack/external/ruamel/yaml/__init__.py 85 additions, 0 deletionslib/spack/external/ruamel/yaml/__init__.py
- lib/spack/external/ruamel/yaml/comments.py 481 additions, 0 deletionslib/spack/external/ruamel/yaml/comments.py
- lib/spack/external/ruamel/yaml/compat.py 120 additions, 0 deletionslib/spack/external/ruamel/yaml/compat.py
- lib/spack/external/ruamel/yaml/composer.py 69 additions, 26 deletionslib/spack/external/ruamel/yaml/composer.py
- lib/spack/external/ruamel/yaml/configobjwalker.py 9 additions, 0 deletionslib/spack/external/ruamel/yaml/configobjwalker.py
- lib/spack/external/ruamel/yaml/constructor.py 1167 additions, 0 deletionslib/spack/external/ruamel/yaml/constructor.py
- lib/spack/external/ruamel/yaml/dumper.py 102 additions, 0 deletionslib/spack/external/ruamel/yaml/dumper.py
- lib/spack/external/ruamel/yaml/emitter.py 241 additions, 99 deletionslib/spack/external/ruamel/yaml/emitter.py
- lib/spack/external/ruamel/yaml/error.py 23 additions, 13 deletionslib/spack/external/ruamel/yaml/error.py
- lib/spack/external/ruamel/yaml/events.py 44 additions, 24 deletionslib/spack/external/ruamel/yaml/events.py
- lib/spack/external/ruamel/yaml/loader.py 61 additions, 0 deletionslib/spack/external/ruamel/yaml/loader.py
- lib/spack/external/ruamel/yaml/main.py 136 additions, 53 deletionslib/spack/external/ruamel/yaml/main.py
- lib/spack/external/ruamel/yaml/nodes.py 86 additions, 0 deletionslib/spack/external/ruamel/yaml/nodes.py
- lib/spack/external/ruamel/yaml/parser.py 164 additions, 78 deletionslib/spack/external/ruamel/yaml/parser.py
Loading
Please register or sign in to comment