@@ -17,7 +17,7 @@ demonstrating a simple Tk interface, letting you know that :mod:`!tkinter` is
1717properly installed on your system, and also showing what version of Tcl/Tk is
1818installed, so you can read the Tcl/Tk documentation specific to that version.
1919
20- Tkinter supports a range of Tcl/Tk versions, built either with or without
20+ Tkinter supports a range of Tcl/Tk versions, which must be built with
2121thread support.
2222Tcl/Tk 8.5.12 is the minimum supported version; the official Python binary
2323release bundles Tcl/Tk 9.0.
@@ -27,6 +27,9 @@ supported versions.
2727.. versionchanged :: 3.11
2828 Support for Tcl/Tk versions older than 8.5.12 was removed.
2929
30+ .. versionchanged :: next
31+ Support for Tcl/Tk built without thread support was removed.
32+
3033Tkinter is not a thin wrapper, but adds a fair amount of its own logic to
3134make the experience more pythonic. This documentation will concentrate on these
3235additions and changes, and refer to the official Tcl/Tk documentation for
@@ -476,18 +479,11 @@ interpreter will fail.
476479
477480A number of special cases exist:
478481
479- * Tcl/Tk libraries built without thread support are now rare: Tcl/Tk 9.0 (the
480- bundled version) is always thread-aware, so this case only arises with some
481- older 8.x builds. When the library is not thread-aware,
482- :mod: `!tkinter ` calls the library from the originating Python thread, even
483- if this is different than the thread that created the Tcl interpreter. A global
484- lock ensures only one call occurs at a time.
485-
486482* While :mod: `!tkinter ` allows you to create more than one instance of a :class: `Tk `
487483 object (with its own interpreter), all interpreters that are part of the same
488484 thread share a common event queue, which gets ugly fast. In practice, don't create
489485 more than one instance of :class: `Tk ` at a time. Otherwise, it's best to create
490- them in separate threads and ensure you're running a thread-aware Tcl/Tk build .
486+ them in separate threads.
491487
492488* Blocking event handlers are not the only way to prevent the Tcl interpreter from
493489 reentering the event loop. It is even possible to run multiple nested event loops
0 commit comments