[Tutor] strange errors

Peter Otten __peter__ at web.de
Tue Feb 4 15:44:20 CET 2014


Gabriele Brambilla wrote:

> ok.
> the problem is that my "errors" are not always the same and sometimes they
> are only differences in the results displayed (with the same starting data
> and no random variables used between).

Sometimes randomness lurks where you don't expect it. Are there any dicts or 
sets involved? If so set the environment variable

PYTHONHASHSEED=0

and see if the error starts occuring in the same place.

> so it's difficult for me to understand where the error is (and to give you
> a piece of code that can run).

Please understand that it is impossible to debug code that we don't have.




More information about the Tutor mailing list