Support Nil and Max UUID formats from RFC 9562ย #128427
Open
Description
Feature or enhancement
Proposal:
RFC 9562 defines Nil and Max UUID formats:
- https://www.rfc-editor.org/rfc/rfc9562.html#name-nil-uuid
- https://www.rfc-editor.org/rfc/rfc9562.html#name-max-uuid
I've often had a need to use these as placeholders, sentinels or dummy values and it would be nice to be able to write uuid.NIL
and uuid.MAX
instead of uuid.UUID(int=0)
and uuid.UUID(int=2 ** 128 - 1)
every time I need to reach for them.
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
These have been referred to in #89083 (comment) and #89083 (comment).