Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 9a382a1ba978054b0abb60daa9b5c486cc247e93
Ticket: 3588687fffffffffffffffffffffffffffffffff
Tcl_InitStubs() Broken As Designed
User & Date: dgp on 2012-12-07 10:40:50
Changes

  1. icomment:
    Just so I can start from an agreed assumption in the morning, we agree
    that
    
        Tcl_InitStubs(interp, "8.6-", 0)
    
    is *never* a sensible thing to do, right?  Any code including that is
    wrongheaded and buggy from the get-go.  
    
    (In that sense it's like my example in the original ticket here.
    Compiling against Tcl 8 headers, but passing "9.0" as an argument
    to Tcl_InitStubs() cannot ever work and is always a mistake.)
    
    There's no compat issue with making Tcl_InitStubs refuse to follow
    broken orders. We just need to redesign it so that such mistakes are
    reported errors, not panics or crashes.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"