I'm using python's random.getrandbits() to generate unique identifiers in my program. However, I've discovered that when I start it from the Journal, I get errors, which I can trace to the random number generator producing the same sequence of random numbers that was generated when I started it the first time. It is as if the random seed is being reset every time I launch from the Journal.
Does anyone know what's going on here? Thanks, Ben
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel