Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5f95c6fd816a7cc4c257c7d870570b6b410132ea
Ticket: 803489ffffffffffffffffffffffffffffffffff
Tcl_FindNamespace problem in the Stubs table
User & Date: dkf on 2003-12-23 04:10:53
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    On one level, yes.  On another, no.
    
    You were relying on the fact that, for certain APIs within
    Tcl, you could link against a version 8.x (where x is the
    latest) and load into a version 8.y (which is older) and
    have things work.  Which is a nice trick, but doesn't always
    work.  And in fact, had you been using other APIs you would
    have had a major problem in the switch from 8.3 to 8.4.
    
    The real problem is that a private API subset in 8.0
    received public names.  (I don't know who's fault that was.)
     When a previously private API becomes public, there is no
    reasonable expectation that things built against the public
    API will be able to work with the private API.  What you are
    trying to do (I'm not sure what the term for it is; backward
    co-compatability?) exceeds the design parameters of the
    Stubs system.
    
    The problem I have with doing something to work around this
    (which isn't actually hard to do) is relating to policy:
     * Is this behaviour which we wish to support?
     * Do we want a specific or a general solution?
     * Is there any way to limit the time period for which such
    support will be offered?
    Once I know the policy of the fix, implementing the policy
    is trivial.
    A possible workaround would be to copy the #defs which fix
    things (without their guard #ifndefs) from tclIntDecls.h
    into your code.  That's not a supported, but neither is
    #include of tclInt.h by non-core code in the first place...  ;^)
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. priority changed to: "5 Medium"
  5. username: "dkf"