From: Andrew Svetlov Date: Wed, 14 Mar 2012 16:39:36 +0000 (-0700) Subject: Revert the patch for issue 3835 because failed on Windows buildbot X-Git-Tag: v3.3.0a2~205 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c5ceb0aaafa3064c8f301ebbedf44f421d3f3eba;p=python Revert the patch for issue 3835 because failed on Windows buildbot Windows build is compiled with no-threaded tcl/tk by default --- diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 94ae48d388..abbe0ec7bb 100644 --- a/Modules/_tkinter.c +++ b/Modules/_tkinter.c @@ -613,13 +613,6 @@ Tkapp_New(char *screenName, char *className, } #endif #ifdef WITH_THREAD - if (!(v->threaded)) { - PyErr_SetString(PyExc_RuntimeError, - "Tcl/Tk was not compiled with --enable-threads but " - "Python has threads enabled"); - Py_DECREF(v); - return 0; - } if (v->threaded && tcl_lock) { /* If Tcl is threaded, we don't need the lock. */ PyThread_free_lock(tcl_lock);