Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3c5ffaec46ee215c2dfa940d02726c0d310dc1bd
Ticket: 3588687fffffffffffffffffffffffffffffffff
Tcl_InitStubs() Broken As Designed
User & Date: dgp on 2012-12-07 02:39:03
Changes

  1. icomment:
    
    We may have different visions of what the
    TCL_STUB_MAGIC value tells us.  For me,
    if the TCL_STUB_MAGIC value stays the same,
    that means:
    
    1) The interp has a stubs table.
    2) The first entry in the table is a routine
         with the same signature and compatible
         functioning as Tcl_PkgRequireEx().
    
    and that's it!  Other compatibility checks get
    deferred to what T_PRE judges and that
    gets controlled by the usual version numbering
    scheme.
    
    In that vision, the only reason to change TCL_STUB_MAGIC
    is either
    
    1) A stubs table rethink so radical it no longer allows the
        first slot to be assigned to T_PRE(); or
    2) An incompatibility that cannot be sorted out by T_PRE()
        using Tcl version numbers.
    
    An example of 2) would be some kind of development fork
    where the forks had incompatible stub tables, but were making
    claim to the same set of version numbers.  I don't fully grok your
    64-bit claims yet, but it's possible they'd be in this category.
    
    
  2. login: "dgp"
  3. mimetype: "text/plain"
  4. username: "dgp"