Index: Source/Modules/python.cxx
===================================================================
--- Source/Modules/python.cxx	(revision 10831)
+++ Source/Modules/python.cxx	(working copy)
@@ -1497,7 +1497,7 @@
     Wrapper_add_local(f, "argc", "int argc");
     Printf(tmp, "PyObject *argv[%d]", maxargs + 1);
     Wrapper_add_local(f, "argv", tmp);
-    if (allow_thread)
+    if (false && allow_thread)
       thread_begin_block(n, f->code);
 
     if (!fastunpack) {
@@ -1515,7 +1515,7 @@
 
     Replaceall(dispatch, "$args", "self,args");
 
-    if (allow_thread) {
+    if (false && allow_thread) {
       String *ret = NewStringEmpty();
       thread_end_block(n, ret);
       Append(ret, "return ");
@@ -1525,7 +1525,7 @@
 
     Printv(f->code, dispatch, "\n", NIL);
 
-    if (allow_thread)
+    if (false && allow_thread)
       thread_end_block(n, f->code);
 
     if (GetFlag(n, "feature:python:maybecall")) {
@@ -1634,7 +1634,7 @@
     kwargs = NewString("");
 
     int allow_thread = threads_enable(n);
-    if (allow_thread)
+    if (false && allow_thread)
       thread_begin_block(n, f->code);
 
     Wrapper_add_local(f, "resultobj", "PyObject *resultobj = 0");
@@ -2066,7 +2066,7 @@
       }
     }
 
-    if (allow_thread)
+    if (false && allow_thread)
       thread_end_block(n, f->code);
     Append(f->code, "    return resultobj;\n");
 
@@ -2076,7 +2076,7 @@
     if (need_cleanup) {
       Printv(f->code, cleanup, NIL);
     }
-    if (allow_thread)
+    if (false && allow_thread)
       thread_end_block(n, f->code);
     Printv(f->code, ctab4, "return NULL;\n", NIL);
 

