You could use the uuid package (http://pypi.python.org/pypi/uuid/1.30)
cb
-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Marco
Bizzarri
Verzonden: maandag 7 juli 2008 14:53
Aan: Zope Users Mailing List
Onderwerp: [Zope] Best policy to assign policy to assign ids to objects
insideBTreeFolder2

Hi all.

I need to create a number of objects inside a BTreeFolder2 container.

I would like to minimize the chances of conflicts, so I'm exploring
possibilities to assign ids; up to now I've found the following:

- timestamps
- random numbers

What is the best choice to reduce the chances of conflicts?

Regards
Marco

--
Marco Bizzarri
http://iliveinpisa.blogspot.com/
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.138 / Virus Database: 270.4.5/1537 - Release Date: 6-7-2008
5:26

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to