[pypy-svn] r19353 - pypy/release/0.8.x/pypy/translator/goal

pedronis at codespeak.net pedronis at codespeak.net
Tue Nov 1 16:52:07 CET 2005


Author: pedronis
Date: Tue Nov  1 16:52:07 2005
New Revision: 19353

Modified:
   pypy/release/0.8.x/pypy/translator/goal/targetthunkstandalone.py
Log:
merge 19212, don't try to use broken threads.



Modified: pypy/release/0.8.x/pypy/translator/goal/targetthunkstandalone.py
==============================================================================
--- pypy/release/0.8.x/pypy/translator/goal/targetthunkstandalone.py	(original)
+++ pypy/release/0.8.x/pypy/translator/goal/targetthunkstandalone.py	Tue Nov  1 16:52:07 2005
@@ -58,12 +58,15 @@
 
     # disable translation of the whole of classobjinterp.py
     Space.setup_old_style_classes = lambda self: None
-    if options.gc == 'boehm':
-        #print "disabling thread with boehm for stabilitiy (combination not tested)"
-        #print "trying threads and boehm"
-        usemodules = []
-    else:
-        usemodules = ['thread']
+    # XXX threads are not working right now!
+    #if options.gc == 'boehm':
+    #    #print "disabling thread with boehm for stabilitiy (combination not tested)"
+    #    #print "trying threads and boehm"
+    #    usemodules = []
+    #else:
+    #    usemodules = ['thread']
+    usemodules = []
+
     space = Space(nofaking=True,
                   compiler="ast", # interpreter/astcompiler
                   translating=True,



More information about the Pypy-commit mailing list