Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 56bb20a83cb921b43a1fd096fb67eb969cc35b62
Ticket: 4955f5d8a4dce006e063f924bc9709f7850ecb6a
tailcall splicing spot vs. raw TclInvokeObjectCommand
User & Date: ferrieux on 2014-05-19 17:54:23
Changes

  1. icomment:
    @Miguel: fully agreed, the core of the issue is an API that should not have been exposed in the first place. Making it baby-proof is not an option.
    
    So I suggest to:
    
     - not touch T_GCI, and deprecate it in a future version
     - tell Brent to publish a revision without the anti-idiom
     - when the issue occurs, let tailcall err instead of panicking (if possible.. your call)
     - use the patch below and associated test for inclusion in the test suite
     - protect Tk as Jan suggested, since Tk is not a member of the Tcl test suite after all, and we want to minimize the risk of other bindings encountering the same problem (while applying a recipe from an authoritative book)
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"