mirror of
https://github.com/astral-sh/uv
synced 2026-01-22 05:50:25 -05:00
## 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.