Skip to content

Conversation

@picnixz
Copy link
Member

@picnixzpicnixz commented Jun 21, 2024

This is an alternative to #120650 where UUIDv7 features monotonous properties.

There's still the question on the semantics of the time-fields since they are no more compatible with UUIDv1 (actually, the docs are rather imprecise since they do not say that time_low for a non-UUIDv1 is not meaningful). For design discussions on this, I'd prefer doing it on #120650.


📚 Documentation preview 📚: https://cpython-previews--120830.org.readthedocs.build/

@picnixzpicnixz changed the title gh-89083: support UUID versions 6, 7 (monotonous), and 8 (RFC 9562)gh-89083: support UUID version 7 (monotonous version) (RFC 9562)Jun 22, 2024
@picnixzpicnixz marked this pull request as ready for review June 22, 2024 19:06
@picnixz
Copy link
MemberAuthor

In light of the discussion on the issue and discourse (well it's a monologue on Discourse for now), I will go for Method 1 instead of Method 2. I'll open another PR soon (with only version 7).

@picnixz
Copy link
MemberAuthor

Closing in favor of #121119.

@picnixzpicnixz closed this Jun 28, 2024
@picnixzpicnixz deleted the uuid-rfc-9562-monotonous branch June 28, 2024 09:46
@picnixzpicnixz changed the title gh-89083: support UUID version 7 (monotonous version) (RFC 9562)gh-89083: support UUID version 7 (monotonous version) (RFC 9562) [abandoned proposal]Jun 28, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@picnixz