Message325707
When I validate the invalid uuid (RFC 4122 variant) for example '481a8de5-f0d1-f211-b425-e41f134196da'. It returns version number as 15 which is invalid. We need to retrun None in this case as we do for invalid UUIDs based on RFC 4122.
------snip snip-------
from uuid import UUID
test_uuid_str = '481a8de5-f0d1-f211-b425-e41f134196da'
print("UUID version: {}".format(UUID(test_uuid_str).version))
print("UUID variant: {}".format(UUID(test_uuid_str).variant))
------snip snip-------
------Result----------
UUID version: 15
UUID variant: specified in RFC 4122
------Result---------- |
|
Date |
User |
Action |
Args |
2018-09-19 06:33:06 | jophine pranjal | set | recipients:
+ jophine pranjal |
2018-09-19 06:33:06 | jophine pranjal | set | messageid: <1537338786.65.0.956365154283.issue34732@psf.upfronthosting.co.za> |
2018-09-19 06:33:06 | jophine pranjal | link | issue34732 messages |
2018-09-19 06:33:06 | jophine pranjal | create | |
|