changeset: 75628:7cbc48324938 parent: 75626:b4d1e51d91f8 user: Andrew Svetlov date: Wed Mar 14 09:39:36 2012 -0700 files: Modules/_tkinter.c description: Revert the patch for issue 3835 because failed on Windows buildbot Windows build is compiled with no-threaded tcl/tk by default diff -r b4d1e51d91f8 -r 7cbc48324938 Modules/_tkinter.c --- a/Modules/_tkinter.c Wed Mar 14 08:18:59 2012 +0100 +++ b/Modules/_tkinter.c Wed Mar 14 09:39:36 2012 -0700 @@ -613,13 +613,6 @@ } #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);

AltStyle によって変換されたページ (->オリジナル) /