Artifacts Associated With Ticket 1041949
Ticket change [930355dd5c] (rid 105744) by stwo on 2004-10-07 03:10:53:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- comment initialized to:
There are are variety of methods used to set the interp's result in Tcl. The goal with this is to create a set of functions which set the interp's result in the most 'proper' way and then use them throughout Tcl. The initial patches provided contain two functions and two shortcut macros, and patches for generic/tclVar.c and unix/tclUnixChan.c (Tcl 8.4.7). If this is found to be worth pursuing I would be happy to continue the work.
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "stwo"
- subsystem initialized to: "55. Other Tools"
- title initialized to:
Standardize, for errors, how Tcl sets the interp's result.
- type initialized to: "Patch"
Add attachment "tcl_newres.tar.gz" [5f13ab3063] (rid 115748) by stwo on 2004-10-07 10:10:54.
Ticket change [2e6d99522a] (rid 119222) by stwo on 2004-10-07 10:10:54:
- icomment:
File Added - 104125: tcl_newres.tar.gz
- login: "stwo"
- mimetype: "text/plain"
- username: "stwo"
- icomment:
Ticket change [e2f0353da2] (rid 87704) by dgp on 2004-10-07 22:38:58:
- assignee changed to: "dgp"
- closedate changed to: "2004-10-07T15:38:58"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 The concepts underlying this patch are good. Many of the problems it attacks have very recently been addressed on the HEAD of Tcl development in a similar, but incompatible way. Please review the HEAD of Tcl development to see how things are changing, and join us in that effort.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Out of Date"
- status changed to: "Closed"
- subsystem changed to: "45. Parsing and Eval"
- username: "dgp"
Ticket change [4618897a11] (rid 99458) by dkf on 2007-11-18 04:57:38:
- icomment:
Logged In: YES user_id=79902 Originator: NO Patch re-review: Agree with dgp. The principles of this patch would help a lot, but the implementation won't work as it stands.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [fa9fedb958] (rid 91910) by nobody on 2007-11-18 05:07:23:
- icomment:
Logged In: NO Two suggestions: the name "Tcl_SetResultReturnError" says "how", not "what" -- I'd suggest renaming this to Tcl_ReportError(). Lightning bolt vs. lightning bug and all that. It may be worth considering adding an optional second parameter, that would be used to set $::errorCode if non-NULL. That would encourage more callers to actually set this. int Tcl_ReportError(Tcl_Interp *interp, const char *errorCode, ...);
- login: "[email protected]"
- mimetype: "text/plain"
- username: "[email protected]"
- icomment: