Skip to content
Tcl Source Code History Of Ticket 1723738
Login

History Of Ticket 1723738

Artifacts Associated With Ticket 1723738

  1. Ticket change [6a67e873c7] (rid 128143) by eriklns on 2007-05-22 19:51:24:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      This is a plea for making the function TclTransferResult() in tclResult.c part of the public interface.
      
      The feature is useful in cases where results need to be exchanged between interpreters, that cannot make a sensible use of the command alias mechanism to take care of the transfer of the interpreter result and/or error info. (The alias mechanism is limited to object commands only, and does not cover other arbitrary cases that affect the interpreter result or error info.)
      
      To implement the feature request, I foresee the following effort:
      - renaming to Tcl_TranferResult(). In the current situation, the function is not declared static already.
      - add it to the stubs table.
      - write documentation (to be added to the manual page for Tcl_CreateInterp or Tcl_SaveResult ?).
      - ...
      
      If this feature request is honoured, I am prepared to write (a draft version for) the documentation.
      
      Erik Leunissen
      
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "eriklns"
    10. subsystem initialized to: "None"
    11. title initialized to: "make TclTransferResult() public"
    12. type initialized to: "Patch"
  2. Ticket change [396ab97d88] (rid 112387) by dgp on 2007-05-23 03:41:24:

    1. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      While this is considered, I'd make
      a note that the implementation of
      TclTransferResult is made up entirely[*]
      of calls to Tcl's public interface, so
      an extension already has all the pieces
      needed to reproduce TclTransferResult
      for itself.
      
      [*] other than some optimization hackery.
      
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  3. Ticket change [7cf7ac86f0] (rid 97168) by dkf on 2007-08-19 06:40:43:

    1. assignee changed to: "msofer"
    2. priority changed to: "2"
    3. subsystem changed to: ""
  4. Ticket change [d885f52185] (rid 107456) by msofer on 2007-08-20 05:35:16:

    1. icomment:
      Logged In: YES 
      user_id=148712
      Originator: NO
      
      I do not see any problem myself; does such an api addition require a TIP?
      Erik: please go ahead and submit the docs. I am sending a request for comments to tclcore: if there are no opinions against, we'll do it. Otherwise, it can go into the internal stubs.
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  5. Add attachment "Tcl_TransferResult.TIP" [206eb37b29] (rid 91307) by eriklns on 2007-08-29 02:26:33.

  6. Ticket change [74c7a70d2c] (rid 105274) by eriklns on 2007-08-29 02:26:33:

    1. icomment:
      
      
      File Added - 243234: Tcl_TransferResult.TIP
      
      
      
    2. login: "eriklns"
    3. mimetype: "text/plain"
    4. username: "eriklns"
  7. Ticket change [d46fd0e41d] (rid 123441) by eriklns on 2007-08-29 02:26:34:

    1. icomment:
      Logged In: YES 
      user_id=113903
      Originator: YES
      
      Hereby, I submit the TIP (file Tcl_TransferResult.TIP) and corresponding draft documentation (file Tcl_TransferResult.doc).
      
      File Added: Tcl_TransferResult.TIP
      
      
    2. login: "eriklns"
    3. mimetype: "text/plain"
    4. username: "eriklns"
  8. Ticket change [0c97ef7cc7] (rid 114205) by eriklns on 2007-08-29 02:27:34:

    1. icomment:
      
      
      File Added - 243235: Tcl_TransferResult.doc
      
      Logged In: YES 
      user_id=113903
      Originator: YES
      
      File Added: Tcl_TransferResult.doc
      
      
    2. login: "eriklns"
    3. mimetype: "text/plain"
    4. username: "eriklns"
  9. Add attachment "Tcl_TransferResult.doc" [de2c94376a] (rid 114800) by eriklns on 2007-08-29 02:27:34.

  10. Ticket change [cb5cb2ad61] (rid 95499) by dkf on 2007-08-31 21:14:12:

    1. icomment:
      
      
      data_type - 310894
      
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      TIP now created. See http://tip.tcl.tk/307.html
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. subsystem changed to: "45. Parsing and Eval"
    5. username: "dkf"
  11. Ticket change [a807f7ffca] (rid 98907) by dkf on 2007-08-31 21:14:45:

    1. foundin changed to: "TIP Implementation"
    2. priority changed to: "5 Medium"
  12. Ticket change [30db049fe2] (rid 93327) by mistachkin on 2007-12-13 13:55:52:

    1. icomment:
      Logged In: YES 
      user_id=113501
      Originator: NO
      
      
      One thing that I noticed is that TclTransferResult implicitly assumes that _both_ interps are on the same thread.  Maybe this should be mentioned in the docs if this API is made public?
      
      
      
    2. login: "mistachkin"
    3. mimetype: "text/plain"
    4. username: "mistachkin"
  13. Ticket change [01af3b36fe] (rid 119525) by eriklns on 2007-12-14 03:26:13:

    1. icomment:
      Logged In: YES 
      user_id=113903
      Originator: YES
      
      About thread awareness (which Joe Mistachkin mentions): that is something that I didn't reckon with as I proposed this feature request. If it is an issue here, I immediately accept that as being true. There is just little I have to offer with respect to documentation, because thread-awareness is something that I have very little overview over and insight into. I do not judge myself capable of writing sensible documentation related to that aspect. Someone else would have to take over ...
      
      
    2. login: "eriklns"
    3. mimetype: "text/plain"
    4. username: "eriklns"
  14. Ticket change [c03e52a012] (rid 102373) by msofer on 2008-07-30 06:58:34:

    1. assignee changed to: "mistachkin"
  15. Ticket change [1d32f19c31] (rid 90762) by dgp on 2008-12-03 04:47:02:

    1. icomment:
      
      The thread restrictions are worth
      mentioning in the docs, though they
      are nothing new.  It's part of Tcl's
      apartment model that you should only
      pass a (Tcl_Interp *) value to a Tcl_*
      routine from the same thread where
      that (Tcl_Interp *) value was originally
      returned by Tcl_CreateInterp().  Since
      the Tcl_TransferResult() routine takes
      two (Tcl_Interp *) arguments, the usual
      rule implies that both interps live in
      the same thread.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  16. Ticket change [1536e0c5fb] (rid 124531) by dgp on 2008-12-05 01:05:45:

    1. icomment:
      
      I do appreciate the effort for
      contributing the documentation, but
      I'm going to rewrite it.  I don't want
      to offend, but the contributed docs
      are written from a Tcl 8.4 perspective,
      and omit considerations of the return
      options dictionary.
      
      Even so, rewriting something is easier
      than the terror of the blank page.
      
      I plan to document Tcl_TransferResult()
      on the SetResult.3 page.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  17. Ticket change [e4f3957c4f] (rid 88042) by dgp on 2008-12-05 01:26:02:

    1. icomment:
      
      Oops!  typo.  Will document on
      the SaveResult.3 page.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  18. Ticket change [7bce3c1f41] (rid 96968) by dgp on 2008-12-05 22:21:00:

    1. assignee changed to: "dkf"
    2. icomment:
      
      um, ok, while I pondered,
      dkf went and did it.
      
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. username: "dgp"
  19. Ticket change [901b7b7092] (rid 120390) by dkf on 2008-12-05 22:21:52:

    1. assignee changed to: "mistachkin"
    2. closedate changed to: "2008-12-05T15:21:52"
    3. closer changed to: "dkf"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  20. Ticket change [b424c6ee5f] (rid 124977) by dkf on 2008-12-05 22:36:55:

    1. assignee changed to: "dkf"