Version number more than 5 returned for UUID #322
Labels
No labels
breaking
bug
dependencies
good first issue
help wanted
unstable
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
gh-uuid-rs/uuid#322
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
The version for UUID "481a8de5-f0d1-f211-b425-e41f134196da" seems to return 15 while 1 to 5 are the valid versions. This is reported as a bug in CPython https://bugs.python.org/issue34732 . I tried with Java 9 and this library that seem to produce same output.
To Reproduce
Steps to reproduce the behavior:
output
Expected behavior
Is there any validation done for the version number?
Specifications:
Other
https://bugs.python.org/issue34732
Thanks
Hi @tirkarthi! There is an alternative
get_versionmethod that will only return an RFC 4122 specified version (with the addition of aNilversion).Thanks, it works as expected. Closing it.
I think the documentation should be improved to make sure people dont mess this up.
Edit:
The documentation seems to be all over the place for these two methods, so an update to the docs is definitely needed!