[Python-checkins] cpython: Revert the patch for issue 3835 because failed on Windows buildbot
andrew.svetlov
python-checkins at python.org
Wed Mar 14 17:40:17 CET 2012
http://hg.python.org/cpython/rev/7cbc48324938
changeset: 75628:7cbc48324938
parent: 75626:b4d1e51d91f8
user: Andrew Svetlov <andrew.svetlov at gmail.com>
date: Wed Mar 14 09:39:36 2012 -0700
summary:
Revert the patch for issue 3835 because failed on Windows buildbot
Windows build is compiled with no-threaded tcl/tk by default
files:
Modules/_tkinter.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/Modules/_tkinter.c b/Modules/_tkinter.c
--- a/Modules/_tkinter.c
+++ b/Modules/_tkinter.c
@@ -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);
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list