Aren't there already uuid generation routines in both Linux and
Windows and wouldn't all that's needed be to wrap them in Python?
Absolutely. However, I don't know if any of them are cross-platform,
and if you have any intention of getting this into the standard library,
it'll need to be readily available on any platform with an ANSI C
compiler. Packaging is *NOT* trivial, and that's precisely why it's
rare to see code added to the standard library until it has proven
itself.
If you can find a way to implement this in pure Python, that probably
gives the biggest boost to the likelihood of getting into the standard
library. Python 2.4 is too far along to add this; that gives you 12-18
months for working this into usable shape.
--
Aahz (
[email protected]) <*>
http://www.pythoncraft.com/
"To me vi is Zen. To use vi is to practice zen. Every command is a
koan. Profound to the user, unintelligible to the uninitiated. You
discover truth everytime you use it." (e-mail address removed)