Re: Hash of integers for use in Random module

2005-03-06 Thread Will McGugan
Will McGugan wrote: Hi, If I retrieve the hash of an integer, will it always return the same value across platforms? This reason I ask is that I want to produce a sequence of pseudo random numbers using the random module, that I can re-create later on. So I'll need to store the seed value, but

Hash of integers for use in Random module

2005-03-06 Thread Will McGugan
Hi, If I retrieve the hash of an integer, will it always return the same value across platforms? This reason I ask is that I want to produce a sequence of pseudo random numbers using the random module, that I can re-create later on. So I'll need to store the seed value, but Random.seed takes a