mirror of
https://github.com/python/cpython.git
synced 2025-09-10 02:36:56 +00:00
Revert the patch for issue 3835 because failed on Windows buildbot
Windows build is compiled with no-threaded tcl/tk by default
This commit is contained in:
parent
846acf5c0c
commit
c5ceb0aaaf
1 changed files with 0 additions and 7 deletions
|
@ -613,13 +613,6 @@ Tkapp_New(char *screenName, char *className,
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef WITH_THREAD
|
#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 (v->threaded && tcl_lock) {
|
||||||
/* If Tcl is threaded, we don't need the lock. */
|
/* If Tcl is threaded, we don't need the lock. */
|
||||||
PyThread_free_lock(tcl_lock);
|
PyThread_free_lock(tcl_lock);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue