This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Support UUIDv6, UUIDv7, and UUIDv8 from the new version of RFC4122
Type: enhancement Stage:
Components: Library (Lib) Versions: Python 3.11
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: loganasherjones, serhiy.storchaka, stevesimmons
Priority: normal Keywords:

Created on 2021-08-15 17:26 by stevesimmons, last changed 2022-04-11 14:59 by admin.

Messages (2)
msg399624 - (view) Author: Steve Simmons (stevesimmons) Date: 2021-08-15 17:26
Three new types of UUIDs have been proposed in the latest draft of the next version of RFC4122. Full text of that draft is in [1] (published 21 April 2021; draft period ends 21 Oct 2021).

Support for these should be included in uuid.py for Python 3.11, with backport for 3.9 and 3.10. The timetable for Python 3.11 should fit with the end of the IETF draft period.

Implementation should be similar to the existing UUID classes in uuid.py, the prototypes in [2], or even parts of my own uuid6 version [3].

[1] https://datatracker.ietf.org/doc/html/draft-peabody-dispatch-new-uuid-format
[2] https://github.com/uuid6/prototypes/tree/main/python
[3] https://github.com/stevesimmons/pyuuid6/blob/main/uuid6.py
msg399647 - (view) Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) Date: 2021-08-16 10:47
It is a new feature, and we usually do not backport new features to old Python versions, so it can only be included in Python 3.11 (backports can be provided by third-party libraries). Do you want to create a PR?
History
Date User Action Args
2022-04-11 14:59:48adminsetgithub: 89083
2021-08-17 00:36:53loganasherjonessetnosy: + loganasherjones
2021-08-16 10:47:28serhiy.storchakasetnosy: + serhiy.storchaka
messages: + msg399647
2021-08-15 17:26:05stevesimmonscreate