Skip to content

Commit c5ceb0a

Browse files
committed
Revert the patch for issue 3835 because failed on Windows buildbot
Windows build is compiled with no-threaded tcl/tk by default
1 parent 846acf5 commit c5ceb0a

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

‎Modules/_tkinter.c‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -613,13 +613,6 @@ Tkapp_New(char *screenName, char *className,
613613
}
614614
#endif
615615
#ifdef WITH_THREAD
616-
if (!(v->threaded)) {
617-
PyErr_SetString(PyExc_RuntimeError,
618-
"Tcl/Tk was not compiled with --enable-threads but "
619-
"Python has threads enabled");
620-
Py_DECREF(v);
621-
return 0;
622-
}
623616
if (v->threaded && tcl_lock) {
624617
/* If Tcl is threaded, we don't need the lock. */
625618
PyThread_free_lock(tcl_lock);

0 commit comments

Comments
 (0)