Skip to content
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

gh-89083: support UUID version 7 (monotonous version) (RFC 9562) [abandoned proposal] #120830

Closed
wants to merge 15 commits into from

Conversation

picnixz
Copy link
Contributor

@picnixz picnixz 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/

Doc/whatsnew/3.14.rst Outdated Show resolved Hide resolved
@picnixz picnixz 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
@picnixz picnixz marked this pull request as ready for review June 22, 2024 19:06
@picnixz
Copy link
Contributor Author

picnixz commented Jun 28, 2024

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
Contributor Author

picnixz commented Jun 28, 2024

Closing in favor of #121119.

@picnixz picnixz closed this Jun 28, 2024
@picnixz picnixz deleted the uuid-rfc-9562-monotonous branch June 28, 2024 09:46
@picnixz picnixz 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 free to 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