Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c483acbf990c972339dc2b5cdcb27d486f25d42ba764d647000781cf3621cf8e
Ticket: 3bb3bcf2da5bfe20b1ab863fd2de940bd04f4aaf
Adding support for 8.7/9.0 to Tcl.pm, Tkinter
User & Date: chrstphrchvz on 2023-04-16 15:36:33
Changes

  1. icomment:
    I am now looking into contributing similar changes to Tkinter: [https://github.com/python/cpython/issues/103194]
    
    I am trying to understand how obsolete registered types in 8.7, i.e. "int" on 32-bit systems and Tcl 8.4 "boolean", should be handled. Even though Tcl itself will never create values with obsolete types, is there some case I am overlooking which requires wrappers to still be able to recognize values with these types? The only possibility I can think of is if some C code out there (e.g. extensions) tries to create values with these types anyway (by setting <tt>objPtr-&gt;typePtr</tt> to a <tt>Tcl_ObjType *</tt> obtained from <tt>Tcl_GetObjType()</tt> as well as manually setting <tt>objPtr-&gt;internalRep</tt>), even though such code is likely broken under 9.0.
    
  2. login: "chrstphrchvz"
  3. mimetype: "text/x-fossil-wiki"
  4. title changed to: "Adding support for 8.7/9.0 to Tcl.pm, Tkinter"