Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Marko Rauhamaa Newsgroups: comp.lang.python Subject: Re: Make a unique filesystem path, without creating the file Date: Mon, 22 Feb 2016 20:48:39 +0200 Organization: A noiseless patient Spider Lines: 14 Message-ID: <87ziusmvi0.fsf@elektro.pacujo.net> References: <85r3gf55k4.fsf@benfinney.id.au> <85mvr26dij.fsf@benfinney.id.au> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="b7cb1518d23ec19d482dcc9c31d30fdd"; logging-data="28114"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19AtSE0DYIsw+Eisuaw+6/1" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:1gdi4EkAPu0hjxNNhgXxO4DzdAs= sha1:yi+xd76pzaMskQLzhpdAKc24K/I= Xref: csiph.com comp.lang.python:103353 Jon Ribbens : > 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