I wanted to use a GUID but there doesn't seem to be a standard GUID generating feature in Python. If anyone can suggest a simple package I can use, I'd gladly use that.

The actual key is generated from the SHA1 hash of concatinating random(), datetime.now(),cherrypy.request.remote_host, and cherrypy.request.remote_port. So it's actually a little more unique than just SHA1 hashing the date.

On 5 Apr, 2006, at 5:09 pm, Robin Haswell wrote:

You what? That's not a unique value. 


--
Jeff Watkins

Getting an education was a bit like a communicable sexual disease. It made you unsuitable for a lot of jobs and then you had the urge to pass it on. 
-- (Terry Pratchett, Hogfather)



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to