Skip to content

add lexicographic vers scheme #443

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions VERSION-RANGE-SPEC.rst
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,8 @@ These are generic schemes, to use sparingly for special cases:
non-negative integers, and ignoring leading zeros. Interpretation of the
version should stop at the first character that is not a digit or a dot.

- **lexicographic**: a generic versioning scheme that compares versions based on lexicographic order, interpreted as UTF-8.

A separate document will provide details for each versioning scheme and:

- how to convert its native range notation to the ``vers`` notation and back.
Expand Down