> 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,
Perhaps its not the best practice to rely on a random number generator to
give unique identifiers. Would you not store a number with
On Fri, Jun 5, 2009 at 01:54, Benjamin M. Schwartz
wrote:
> 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
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 th
3 matches
Mail list logo