Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/187e2e8f09bfc915e86a349485e9dd5fd57e35f8

>---------------------------------------------------------------

commit 187e2e8f09bfc915e86a349485e9dd5fd57e35f8
Author: Paolo Capriotti <[email protected]>
Date:   Tue Mar 6 09:33:06 2012 +0000

    Disable threads with python 2.7.2.

>---------------------------------------------------------------

 driver/runtests.py |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/driver/runtests.py b/driver/runtests.py
index ec1c046..301344e 100644
--- a/driver/runtests.py
+++ b/driver/runtests.py
@@ -102,6 +102,12 @@ if config.use_threads == 1:
     if (maj, min, pat) < (2, 5, 2):
         print "Warning: Ignoring request to use threads as python version < 
2.5.2"
         config.use_threads = 0
+    # We also need to disable threads for python 2.7.2, because of
+    # this bug: http://bugs.python.org/issue13817
+    elif (maj, min, pat) == (2, 7, 2):
+        print "Warning: Ignoring request to use threads as python version is 
2.7.2"
+        print "See http://bugs.python.org/issue13817 for details."
+        config.use_threads = 0
     if windows:
         print "Warning: Ignoring request to use threads as running on Windows"
         config.use_threads = 0



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to