id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
7333,python2,michalt,,"Currently GHC assumes that the ```python``` command defaults to Python 2.x, but on
some systems (e.g., Arch Linux) it's already Python 3.x.  This breaks the
testsuite completely.  According to http://www.python.org/dev/peps/pep-0394/ on
*nix systems one should prefer ```python2``` command.  I'm not very familiar with the
build system of GHC but my quick solution is to:

 - make configure.ac check for python2
 - make the testsuite also try python2 first
 - remove the shebang line from ```calibrate``` (testsuite/timeout) since make already calls it with the value
   of ```PYTHON``` variable
 - change the shebang in ```timeout.py``` (in testsuite/timeout) to use python2, which
   should be safe on Unix like systems (and on Windows we don't actually use timeout.py)

Btw is the ```PythonCmd``` (defined by configure.ac) actually used somewhere -- I can't
seem to find where...",bug,closed,normal,,Build System,7.6.1,fixed,,,Unknown/Multiple,Unknown/Multiple,None/Unknown,Unknown,,,,
