Artifacts Associated With Ticket 219162ffffffffff
Ticket change [efa59a6979] (rid 109030) by nobody on 2000-10-26 05:02:40:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 1504 RFE Version: 8.0.5 SubmitDate: '1999-03-15' LastModified: '1999-11-01' Severity: LOW Status: Assigned Submitter: pat ChangedBy: hobbs OS: All FixedDate: '2000-10-25' FixedInVersion: NA ClosedDate: '2000-10-25' Tcl 8.x enhancement: Tcl_Obj needs to have invalid transformations. Some objects can exist only in their internal representation and a string representation. All attempts to convert this object to a list, int, or any other type should fail. We have tried some workarounds for this, recommended by Dr. Ousterhout (such as constructing the string representation as an invalid list). Unfortunately, since some of our commands which operate on these objects accept lists of the objects, then those commands fail to operate as well as lsort, foreach, etc. which we want to fail. This is something that should be addressed with Feather. -- 11/01/1999 hobbs
- foundin initialized to: "final: 8.0.5"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "10. Objects"
- title initialized to: "Tcl_Obj needs to have invalid transformations"
- type initialized to: "RFE"
Ticket change [86e39523bc] (rid 131592) by dkf on 2000-11-08 18:22:53:
- icomment:
When doing this sort of thing in my own code, I've always allowed conversion *to* strings, typically by just printing the pointer out using the %p substitution in sprintf(), and just blocked conversion from strings (which is trivially done by making the appropriate function in the ObjType return an error for all non-blessed inputs.) Note that it is easier to preserve object representations from 8.3 onwards since Tcl_EvalObj is not quite so aggressively string-oriented (build your command as a list using the ListObj funcs and the internal reps should make it through unscathed.)
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [657f98cc44] (rid 102558) by dkf on 2001-01-09 22:12:28:
- priority changed to: "1 Zero"
Ticket change [8631b75255] (rid 131458) by andreas_kupries on 2001-09-08 06:09:40:
- foundin changed to: "None"
- icomment:
Logged In: YES user_id=75003 This a feature request, not a bug.
- login: "andreas_kupries"
- mimetype: "text/plain"
- subsystem changed to: "None"
- username: "andreas_kupries"
Ticket change [ae137c4283] (rid 101573) by andreas_kupries on 2001-09-08 06:10:21:
- subsystem changed to: "10. Objects"
Ticket change [1b5ee47cb1] (rid 123137) by dgp on 2003-11-13 06:14:16:
- assignee changed to: "dkf"