Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: ed230d529be900a3773f051a3c98f916fa596018
Ticket: 3591522fffffffffffffffffffffffffffffffff
[try] desired missing funciton
User & Date: dgp on 2012-11-30 23:52:57
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    
    The recipe
    
    catch $script m o
    return -options $o $m
    
    lets me reproduce what evaluation of $script
    alone would do.  Other than the variables m and o
    and some trivial unimportant things, they are
    indistinguishable.  Most importantly to me
    they leave the same -errorinfo value in the
    interp to be captured by another enclosing [catch].
    
    I want some set of options to [try] to be able to
    do the same thing.  Right now, that appears
    impossible because [try] seems to be pretty
    insistent on leaving decorations on the errorInfo
    value.
    
    Since I have the [catch; return] combo that does what
    I want, you might ask why that's not enough.   Well
    there are some places where only a single command
    will do.
    
    A [tailcall try $script] that didn't leave [try] droppings
    on the stack trace would be nice.
    
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "dgp"
  10. subsystem changed to: "18. Commands M-Z"
  11. title changed to: "[try] desired missing funciton"
  12. type changed to: "RFE"