From: Artem Y. <ne...@gm...> - 2008-08-25 22:56:00
|
Yuri Takhteyev wrote: >> Now, if we're going to be arguing about generating universally unique >> identifiers... I feel like I should chime in with one module I've been >> making heavy use of recently: uuid! >> > > This is only included with python2.5. We _could_ do something like > what we do now with other things, i.e., wrap it and fall back on > something else if uuid module cannot be imported. Or we can tell > people to install an extra uuid module if they are using older > versions of python. The question is: do we get any benefits from real > uniqueness? > > (Before we get back into the question of whether anyone still uses old > versions of Python: Django can run on 2.3 and as long as they can, I > think so should we.) > > - yuri > > Yes, I agree, it's not necessary here. But thanks David, I didn't know about it before, and used to use md5 for such things. |