Make a unique filesystem path, without creating the file

Marko Rauhamaa marko at pacujo.net
Mon Feb 22 13:48:39 EST 2016


Jon Ribbens <jon+usenet at unequivocal.co.uk>:

> I was under the impression that the point of UUIDs is that you can be
> *so* confident that there won't be a collision that for all practical
> purposes it's indistinguishable from being certain.

Yes, if you generate a random 128-bit number, it will be unique --
unless someone clones it.

Cloning will be a practical issue when you clone virtual machines, for
example.


Marko



More information about the Python-list mailing list