Re: Non-deterministic output

2011-03-29 Thread John Nagle
On 3/28/2011 3:42 AM, Esben Nielsen wrote: Hi, We are making a prototype program in Python. I discovered the output was non-deterministic, i.e. I rerun the program on the same input files and get different output files. We do not use any random calls, nor threading. One of us thought it could b

Re: Non-deterministic output

2011-03-29 Thread Esben Nielsen
On Mon, 2011-03-28 at 12:58 +0100, Tim Wintle wrote: > On Mon, 2011-03-28 at 12:42 +0200, Esben Nielsen wrote: > > We are making a prototype program in Python. I discovered the output was > > non-deterministic, i.e. I rerun the program on the same input files and > > get different output files. We

Re: Non-deterministic output

2011-03-28 Thread Peter Otten
Esben Nielsen wrote: > Hi, > > We are making a prototype program in Python. I discovered the output was > non-deterministic, i.e. I rerun the program on the same input files and > get different output files. We do not use any random calls, nor > threading. > > One of us thought it could be set a

Re: Non-deterministic output

2011-03-28 Thread Tim Wintle
On Mon, 2011-03-28 at 12:42 +0200, Esben Nielsen wrote: > We are making a prototype program in Python. I discovered the output was > non-deterministic, i.e. I rerun the program on the same input files and > get different output files. We do not use any random calls, nor > threading. > > One of us

Re: Non-deterministic output

2011-03-28 Thread Laurent Claessens
One of us thought it could be set and dictionaries not always yielding the same results. I, however, would think that given the exact same operations, a set/dictionary would always yield the same results. Am I correct? Or could different runs of the same program yield different results due to, s

Non-deterministic output

2011-03-28 Thread Esben Nielsen
Hi, We are making a prototype program in Python. I discovered the output was non-deterministic, i.e. I rerun the program on the same input files and get different output files. We do not use any random calls, nor threading. One of us thought it could be set and dictionaries not always yielding th