Comment #5 on issue 3339 by [email protected]: print PYTHONHASHSEED value when set as random
http://code.google.com/p/sympy/issues/detail?id=3339

Oh, that's a bug. It's just checking `if hash_seed`, where `hash_seed` is the string value of PYTHONHASHSEED. So I guess it should actually be a little smarter. There is something in sys.flags, but unfortunately, it seems to only be there in Python 3.3.

The good news is that Python (apparently) dies with abort trap 6 if PYTHONHASHSEED is set to an illegal value, so there's no need to do too much type checking. So I guess the if statement should become `if hash_seed and hash_seed != '0'`.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to