[SciPy-User] deterministic python code which is unstable

Alan G Isaac alan.isaac at gmail.com
Thu Jun 5 09:18:54 EDT 2014


On 6/5/2014 6:46 AM, Frédéric Parrenin wrote:
> I have a simple python code which should be deterministic (no call to random functions), but which gives two different results when I run it several
> times.
> Always the same two different results.
>
> I am wondering if this is a python bug and where I should report it.


This can even happen if you iterate over sets or dicts,
if your code depends on the order in which items are fetched.

Alan Isaac





More information about the SciPy-User mailing list