-
- Downloads
Change multimethods to take first match instead of being rigid.
- Formerly required that one and only one spec match - Now allows first match in a list (more flexible and more intuitive) - introduces new bug that provides() doesn't do the correct thing when a version is not in a range that has been explicitly provided. - TODO: fix this.
Showing
- lib/spack/docs/developer_guide.rst 2 additions, 0 deletionslib/spack/docs/developer_guide.rst
- lib/spack/docs/packaging_guide.rst 3 additions, 3 deletionslib/spack/docs/packaging_guide.rst
- lib/spack/spack/multimethod.py 17 additions, 34 deletionslib/spack/spack/multimethod.py
- lib/spack/spack/test/mock_packages/multimethod.py 22 additions, 3 deletionslib/spack/spack/test/mock_packages/multimethod.py
- lib/spack/spack/test/multimethod.py 27 additions, 6 deletionslib/spack/spack/test/multimethod.py
Loading
Please register or sign in to comment