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
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-plain"
- 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.
- foundin changed to: "9.0"
- is_private changed to: "0"
- login: "marc_culler"
- priority changed to: "5 Medium"
- private_contact changed to: "4a267845b96d18ced148980dad8c23b791785018"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "marc_culler"
- subsystem changed to: "10. Objects"
- title changed to:
Register all of the Tcl object types created by the core.
- type changed to: "RFE"