logo       

Re: BTrees did it, was: conflict resolution for PersistentList: msg#00144

web.zope.zodb

Subject: Re: BTrees did it, was: conflict resolution for PersistentList

I use this:
def create_id():
return
"%s.%s"%(time.strftime('%Y%m%d%H%M%S',time.gmtime()),str(whrandom.random())[2:])

Greetings

El jue, 27-05-2004 a las 11:34, Thomas Guettler escribió:
> Am Mittwoch, 26. Mai 2004 16:02 schrieb Diez B. Roggisch:
> > Hi,
> >
> > ok, I tried the btrees, and they seem to do what I want. Gotta figure out
> > how to create nice keys, but thats a minor problem.
>
> Hi,
>
> I use time.time() (which returns a float on linux) in an application,
>
> Regards,
> Thomas
>
>
> _______________________________________________
> For more information about ZODB, see the ZODB Wiki:
> http://www.zope.org/Wikis/ZODB/
>
> ZODB-Dev mailing list - ZODB-Dev@xxxxxxxx
> http://mail.zope.org/mailman/listinfo/zodb-dev


_______________________________________________
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list - ZODB-Dev@xxxxxxxx
http://mail.zope.org/mailman/listinfo/zodb-dev



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise