-
- Downloads
Vendor ordereddict for python2.6 only (#6931)
* Vendor ordereddict for python2.6 only This commit substitutes the custom module 'ordereddict_backport' with the more known 'ordereddict' and vendors it only for python 2.6. Other supported versions of python will use 'collections.OrderedDict'. * Use absolute imports also for python 2.6 See PEP-328 for more information on the subject * Added provenance of vendored ordereddict
Showing
- bin/spack 4 additions, 0 deletionsbin/spack
- lib/spack/external/__init__.py 4 additions, 3 deletionslib/spack/external/__init__.py
- lib/spack/external/ordereddict_backport.py 0 additions, 268 deletionslib/spack/external/ordereddict_backport.py
- lib/spack/external/py26/ordereddict.py 127 additions, 0 deletionslib/spack/external/py26/ordereddict.py
- lib/spack/spack/config.py 2 additions, 2 deletionslib/spack/spack/config.py
- lib/spack/spack/test/config.py 2 additions, 2 deletionslib/spack/spack/test/config.py
- lib/spack/spack/test/conftest.py 3 additions, 3 deletionslib/spack/spack/test/conftest.py
- lib/spack/spack/test/spack_yaml.py 2 additions, 2 deletionslib/spack/spack/test/spack_yaml.py
- lib/spack/spack/util/ordereddict.py 40 additions, 0 deletionslib/spack/spack/util/ordereddict.py
- lib/spack/spack/util/spack_yaml.py 1 addition, 1 deletionlib/spack/spack/util/spack_yaml.py
Loading
Please register or sign in to comment