You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tix is an old Tk widget extension set that has long been superseded by the ttk widgets that were added in Tk 8.5, officially released 10 years ago and since superseded by Tk 8.6. Tix was useful for users of Tk 8.4 but tkinter is no longer built, tested, or supported with 8.4. Despite that, we have continued to build and ship Tix with the python.org Windows installers. The last maintenance release of Tix was in 2008.
According to PEP-4, "In order to facilitate writing code that works in both Python 2 & 3 simultaneously, any module that exists in both Python 3.5 and Python 2.7 will not be removed from the standard library until Python 2.7 is no longer supported as specified by PEP-373." Is there a reason for haste? The Tix library still is included in recent versions of Linux distributives and should be compatible with Tcl 8.6.
Ttk is not direct replacement of Tix. They provide different sets of widgets. May be you meant Tile, the predecessor of ttk?
With the PEP-4 argument, I won't push any further for ripping Tix out completely before 2020, but if something happens to break building it on Windows before then my fix will be to remove it from the Windows build.
The time is ripe. tkinter.tix has been deprecated in documentation since 3.6, has emitted DeprecationWarning on import since 3.11 in accordance with PEP-387, and with Python 2.7 long dead (for us, anyway :)) PEP-4 (since rewritten) is no longer a concern.
For anyone looking for more details on the reasoning behind this removal, @zware's comment on the PR explains this well:
Tix has been unmaintained for 10 years now, has open security vulnerabilities, and every update of anything in our toolchain risks breaking it. If you still need it, it's open source and can be vendored into your project or maintained separately, but we will no longer provide it out of the box as of Python 3.13.
Activity
ned-deily commentedon Sep 6, 2017
Tix is an old Tk widget extension set that has long been superseded by the ttk widgets that were added in Tk 8.5, officially released 10 years ago and since superseded by Tk 8.6. Tix was useful for users of Tk 8.4 but tkinter is no longer built, tested, or supported with 8.4. Despite that, we have continued to build and ship Tix with the python.org Windows installers. The last maintenance release of Tix was in 2008.
As of Python 3.6.0 (https://docs.python.org/3.6/library/tkinter.tix.html), we documented tkinter.tix as:
Deprecated since version 3.6: This Tk extension is unmaintained
and should not be used in new code. Use tkinter.ttk instead.
For 3.7, I believe it is time to remove both tkinter.tix and the building of Tix in the Windows builds.
[-]Remove deprecated tkinter.ttx module in 3.7[/-][+]Remove deprecated tkinter.tix module in 3.7[/+]rhettinger commentedon Sep 6, 2017
+1 for removal.
serhiy-storchaka commentedon Sep 7, 2017
According to PEP-4, "In order to facilitate writing code that works in both Python 2 & 3 simultaneously, any module that exists in both Python 3.5 and Python 2.7 will not be removed from the standard library until Python 2.7 is no longer supported as specified by PEP-373." Is there a reason for haste? The Tix library still is included in recent versions of Linux distributives and should be compatible with Tcl 8.6.
Ttk is not direct replacement of Tix. They provide different sets of widgets. May be you meant Tile, the predecessor of ttk?
taleinat commentedon Sep 6, 2018
We should decide on this.
I agree with Serhiy that in accordance with PEP-4, as long as Tix still works, we should keep it.
zware commentedon Sep 6, 2018
We missed the boat for 3.7 anyway.
With the PEP-4 argument, I won't push any further for ripping Tix out completely before 2020, but if something happens to break building it on Windows before then my fix will be to remove it from the Windows build.
[-]Remove deprecated tkinter.tix module in 3.7[/-][+]Remove deprecated tkinter.tix module[/+]zware commentedon May 24, 2023
The time is ripe.
tkinter.tixhas been deprecated in documentation since 3.6, has emittedDeprecationWarningon import since 3.11 in accordance with PEP-387, and with Python 2.7 long dead (for us, anyway :)) PEP-4 (since rewritten) is no longer a concern.pythongh-75552: Remove deprecated tkinter.tix module
pythongh-75552: Remove deprecated tkinter.tix module
pythongh-75552: Remove deprecated tkinter.tix module
pythongh-75552: Remove deprecated tkinter.tix module
pythongh-75552: Remove deprecated tkinter.tix module
pythongh-75552: Remove deprecated tkinter.tix module
pythongh-75552: Remove deprecated tkinter.tix module
gh-75552: Remove deprecated tkinter.tix module (GH-104902)
taleinat commentedon Jun 1, 2023
For anyone looking for more details on the reasoning behind this removal, @zware's comment on the PR explains this well: