Tk Source Code

View Ticket
Login
Ticket UUID: 97d9ac3eb1484d2f5be665349466ff6174145100
Title: Adopt Tcl 9 interfaces
Type: Bug Version: 9.0+
Submitter: dgp Created on: 2025-09-03 17:10:39
Subsystem: None Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2025-09-03 17:10:39
Resolution: None Closed By: nobody
    Closed on:
Description:
Tk 9 requires Tcl 9.  It will not even attempt to build with Tcl 8.

This means the code is relieved of any compatibility to Tcl 8 interfaces.
It is free to adopt routines new in Tcl 9, and (IMHO) should do so, for 
the direct benefits, and to serve as a more up to date example of Tcl 9
extension coding practices.

I have opened a branch dgp-adopt-tcl9 where I will commit patches in
this direction.  I'd be pleased to see someone review the patches and
apply to the Tk 9.0 branch once they are acceptable.  This can happen
either a commit at a time, or in one big review at the end, as the
volunteers happen to step forward.  Corrections to any errors are
welcome in the branch too.  Thanks!