Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use structured types for parsing and formatting language and ABI tags (…
…#10525) ## Summary I need to be able to do non-lexicographic comparisons between tags (e.g., so I can sort `cp313` as greater than `cp39`). It ended up being easiest to just create structured types for all the tags we support, with `FromStr` and `Display` implementations. We don't currently store these in `Tags` or in `WheelFilename`. We may want to, since they're really small (and `Copy`), but I need to benchmark to determine whether parsing these in `WheelFilename` is prohibitively slow.
- Loading branch information