Feature or enhancement
Proposal:
RFC 9562 defines Nil and Max UUID formats:
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).
Linked PRs
Feature or enhancement
Proposal:
RFC 9562 defines Nil and Max UUID formats:
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.NILanduuid.MAXinstead ofuuid.UUID(int=0)anduuid.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).
Linked PRs
uuid.NILanduuid.MAX#128429