diff options
author | Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | 2025-03-02 11:41:56 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-02 11:41:56 (GMT) |
commit | 990ad272f66fe6a50087ad044725bb0f9f8e181d (patch) | |
tree | 13f7c73ae675cbdee8ad1bcab76161680bcf2ee3 /Python/optimizer_analysis.c | |
parent | 214562ed4ddc248b007f718ed92ebcc0c3669611 (diff) | |
download | cpython-990ad272f66fe6a50087ad044725bb0f9f8e181d.zip cpython-990ad272f66fe6a50087ad044725bb0f9f8e181d.tar.gz cpython-990ad272f66fe6a50087ad044725bb0f9f8e181d.tar.bz2 |
gh-89083: add support for UUID version 6 (RFC 9562) (#120650)
Add support for generating UUIDv6 objects according to RFC 9562, §5.6 [1].
The functionality is provided by the `uuid.uuid6()` function which takes as inputs an optional 48-bit
hardware address and an optional 14-bit clock sequence. The UUIDv6 temporal fields are ordered
differently than those of UUIDv1, thereby providing improved database locality.
[1]: https://www.rfc-editor.org/rfc/rfc9562.html#section-5.6
---------
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/optimizer_analysis.c')
0 files changed, 0 insertions, 0 deletions