[Zope-CMF] Resources about generating real UUIDs/GUIDs

Gregoire Weber gregweb at gmx.ch
Fri Aug 20 13:23:31 EDT 2004


Just for the memory:

A UUID URN Namespace: draft-mealling-uuid-urn-03.txt:

   <http://www.ietf.org/internet-drafts/draft-mealling-uuid-urn-03.txt>



[3] in http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/213761
has a C-Implementation but seems expired.

Another resource on standard conforming UUIDs/GUIDs:

   http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/163604

  http://lists.oasis-open.org/archives/security-services/200403/msg00183.html

   <http://lists.osafoundation.org/pipermail/dev/2003-April/000527.html>

Not sure if I have time to integrate such a generator before CMF 1.5 final.

IMHO, actually a UUID/GUID-Library should be part of python.


Gregoire


At 16:24 20.08.2004 +0200, you wrote:
>Gregoire Weber wrote:
>
>>Salut Jean-Marc,
>>
>>>I think that the confusion comes from the fact being "unique" is not a property that something has intrinsically (as for an object being "red", "blue", ...) even though the expression 'X is unique ' is a one-place predicate. - but in fact it always has to be taken in relation to a policy that needs to be enforced throughout. In the context of a "unique ID" the policy can be enforced inside a same folder, in the case of a universally unique ID the policy must be enforced inside the context that the term "universal" refers too -  So "uniqueness" is more of the nature of laws, regulations, concepts, habits (...) than of the nature of a quality, and this is why the best UID generator is the one that can best enforce a given policy.
>>
>>Well stated!
>>I'll updating the README.txt this week by something similar to that:
>>   The unique ids generated by CMFUid *are unique by CMF instance*.
>>   On imports existing CMFUid uids get deleted to avoid doubling
>>   uids.
>>Gregoire
>
>http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/213761
>
>for a micro-discussion on where to get references to UUID's.
>
>Or we could just use a base counter, and base the UID on an OID, that we get ourselves assigned either from IANA, ANSI or BSI,
>
>http://www.alvestrand.no/objectid/
>
>or if we need not be that formal, from a regsitry we create ourselves:
>
>oid.zope.org
>
>or
>
>oid.plone.org
>
>or whatever.  OIDs could effetively be served on a first come, first served basis.
>
>
>Just some random thoughts.
>
>/dario
>
>-- 
>-- -------------------------------------------------------------------
>Dario Lopez-Kästen, IT Systems & Services Chalmers University of Tech.
>_______________________________________________
>Zope-CMF maillist  -  Zope-CMF at lists.zope.org
>http://mail.zope.org/mailman/listinfo/zope-cmf
>
>See http://collector.zope.org/CMF for bug reports and feature requests



More information about the Zope-CMF mailing list