Tags: offscale/uv
Tags
Normalize marker expression order (astral-sh#5422) ## Summary Normalize the order of marker expressions on construction. This removes the distinction between expressions like `os_name == 'Linux'` vs. `'Linux' == os_name` throughout the codebase. One caveat here is that the `in` operator does not have a direct inverse, so we introduce `MarkerOperator::Contains` to handle that case. I wanted to land this smaller change before some more intrusive changes as it simplifies the existing code quite a bit.
PreviousNext