> A combination of time.time(), process id and counter should > work in all cases. Make sure you use a lock around the counter, > though. Yes, but...this hack has to work in a multithreaded environment, so process ID isn't good enough. And I don't want to keep a counter around if I don't have to. -- <a href="http://www.tuxedo.org/~esr/home.html">Eric S. Raymond</a>