Reputation: 332
I am generating UUIDs as follows:
import uuid
uuid.uuid4().hex
Here are some of generated UUIDs (from different machines and different Python versions):
fe072a0a2a59433f9593e21bb4cc2c5f
3c1757516dfd411aad8a5d0291f92bb5
3b12a39e9d1a4cd2a43aa0c4aee41905
👆
I notice that digit 4 is always in the same position within UUID.
My understanding is that UUID tokens, in accordance with RFC4122, should guarantee "uniqueness across space and time".
Is it a bug or a feature?
Upvotes: 1
Views: 248