-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
Add UUID version 6 and 7 to stdlib (Lib/uuid.py) once RFC 4122 becomes updated #102461
Comments
uuid.py is actively maintained, but no one has claimed it at https://devguide.python.org/core-developers/experts/. @jgehrcke Are you in a position to submit a PR at the appropriate time? @tiran Does your security interest include this module? You patched it last July. |
@terryjreedy I think so, and I'd love to! Maybe @orsenthil can also help me with that (hello 👋). |
I recommend using the following implementations as a basis:
|
For reference, see discussion at https://discuss.python.org/t/add-uuid7-in-uuid-module-in-standard-library/44390. |
It has landed: https://www.rfc-editor.org/rfc/rfc9562 |
@jgehrcke Hi, it's been a while, would you like to work on this for 3.14? |
Let's close this as a duplicate of the older #89083, which also mentions UUIDv8. |
An update to RFC 4122 is well underway: https://datatracker.ietf.org/doc/draft-ietf-uuidrev-rfc4122bis/
The last version (as of the time of writing this) is from 16 February 2023.
Editorial work seems to be happening here: https://github.com/ietf-wg-uuidrev/rfc4122bis
High-level updates are communicated here: uuid6/uuid6-ietf-draft#122
Among others, this updated standard introduces UUID versions 6 and 7. The Internet community seems to be excited about those. I trust that it's rather uncontroversial that at least those two should be added to Python's standard library once the standard is complete. But of course we should collect opinions about that idea here.
Prior art:
The text was updated successfully, but these errors were encountered: