sympy/sympy — pull request #1385 by jrioux (2012-06-25 09:49:29+00:00)
Title: Rely on python's return value to determine if it accepts -R.

Rewrite the check for hash randomization support without relying
on hardcoded python version numbers. If ```python -RV``` returns
without error, we know that hash randomization support is available.

This fixes two issues I immediately faced with the recent change in runtests.py

1) My python 2.7.2 supports hash randomization but this was not recognized.
2) My python 2.7.0 reports his version string as simply 2.7 and crashed the test runner.

Plus this future issue:

3) Python 2.6.10 will certainly support hash randomization but the old code would assume that it does not.