diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-03-14 16:39:36 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-03-14 16:39:36 (GMT) |
commit | c5ceb0aaafa3064c8f301ebbedf44f421d3f3eba (patch) | |
tree | f0ae5476d9a6e94af82040966373abf3e0005235 /Modules | |
parent | 846acf5c0c769d80d5bba00f977c4cb00ab72164 (diff) | |
download | cpython-c5ceb0aaafa3064c8f301ebbedf44f421d3f3eba.zip cpython-c5ceb0aaafa3064c8f301ebbedf44f421d3f3eba.tar.gz cpython-c5ceb0aaafa3064c8f301ebbedf44f421d3f3eba.tar.bz2 |
Revert the patch for issue 3835 because failed on Windows buildbot
Windows build is compiled with no-threaded tcl/tk by default
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_tkinter.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c index 94ae48d..abbe0ec 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); |