Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4ccbd78ed04ec5e919192978f73a896a9da30deeec18b9bb30e03cc37c2d38e0
Ticket: 2df1c31b535eb74868df00fa0bdb4f63d6037993
Register all of the Tcl object types created by the core.
User & Date: marc_culler on 2024-07-01 15:25:49
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    There are 13 Tcl_ObjTypes defined in the Tcl core, and declared in tclInt.h.
    
    Of these 13, only 8 are registered in TclinitObjSubsystem.  In particular,
    the "int" object type, which was registered in Tcl 8, is no longer being
    registered in Tcl 9. This breaks the code in the Python _tkinter extension,
    which needs to convert "int" Tcl objects into Python integers.
    
    If all of the core types were registered the existing _tkinter code would
    work with Tcl 9.
    
    I will create a bugfix branch which adds the 5 missing calls to
    Tcl_RegisterObjType.
    
  5. foundin changed to: "9.0"
  6. is_private changed to: "0"
  7. login: "marc_culler"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "4a267845b96d18ced148980dad8c23b791785018"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "marc_culler"
  14. subsystem changed to: "10. Objects"
  15. title changed to:
    Register all of the Tcl object types created by the core.
    
  16. type changed to: "RFE"