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
The text was updated successfully, but these errors were encountered:
alexismoreau
changed the title
Running frozen uuid.uuid4() several times make it change its value.
Running frozen uuid.uuid4() several times change its value.
Sep 11, 2022
I believe this is expected behaviour, because otherwise you'd run into issues immediately if the UUIDs were expected to retain their uniqueness - such as in databases.
It's still deterministic, meaning you can basically infer what values you'll be getting as long as you know the order of the UUID creation calls.
Hello,
Running str(uuid.uuid4()) several times doesn't keep the value at 00000000-0000-0000-0000-000000000000.
gives as a result
That makes my tests fail :(
Reproduction :
The text was updated successfully, but these errors were encountered: