You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support Nil and Max UUID formats from RFC 9562 #128427
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
Activity
picnixz commentedon Jan 2, 2025
Thanks for this one. I planned to add it at some point but it's good that someone else did it as it's an easy feature to add.
gh-128427: Add `uuid.NIL` and `uuid.MAX` (#128429)